/// <summary> /// Default constructor. /// </summary> public Driver(D3D.AdapterInformation adapterInfo) { this.desktopMode = adapterInfo.CurrentDisplayMode; this.name = adapterInfo.Information.DriverName; this.description = adapterInfo.Information.Description; this.adapterNum = adapterInfo.Adapter; videoModeList = new VideoModeCollection(); }
/// <summary> /// Default constructor. /// </summary> public Driver(D3D.AdapterInformation adapterInfo) { this.desktopMode = adapterInfo.CurrentDisplayMode; this.name = adapterInfo.Information.DriverName; this.description = adapterInfo.Information.Description; this.adapterNum = adapterInfo.Adapter; videoModeList = new VideoModeCollection(); }
/// <summary> /// Accepts a existing Direct3D.DisplayMode object. /// </summary> public VideoMode(D3D.DisplayMode videoMode) { modeNum = ++modeCount; displayMode = videoMode; }
/// <summary> /// Default constructor. /// </summary> public VideoMode() { modeNum = ++modeCount; displayMode = new D3D.DisplayMode(); }
/// <summary> /// Accepts a existing Direct3D.DisplayMode object. /// </summary> public VideoMode(D3D.DisplayMode videoMode) { modeNum = ++modeCount; displayMode = videoMode; }
/// <summary> /// Default constructor. /// </summary> public VideoMode() { modeNum = ++modeCount; displayMode = new D3D.DisplayMode(); }