typedef struct DXGI_OUTPUT_DESC1 { WCHAR DeviceName[32]; RECT DesktopCoordinates; BOOL AttachedToDesktop; DXGI_MODE_ROTATION Rotation; HMONITOR Monitor; UINT BitsPerColor; DXGI_COLOR_SPACE_TYPE ColorSpace; FLOAT RedPrimary[2]; FLOAT GreenPrimary[2]; FLOAT BluePrimary[2]; FLOAT WhitePoint[2];...
Describes an output or physical connection between the adapter (video card) and a device, including additional information about color capabilities and connection type.
typedefstructDXGI_OUTPUT_DESC1{WCHAR DeviceName[32]; RECT DesktopCoordinates; BOOL AttachedToDesktop; DXGI_MODE_ROTATION Rotation; HMONITOR Monitor; UINT BitsPerColor; DXGI_COLOR_SPACE_TYPE ColorSpace; FLOAT RedPrimary[2]; FLOAT GreenPrimary[2]; FLOAT BluePrimary[2]; FLOAT WhitePoint[2]; FLOAT...
typedefstructDXGI_OUTPUT_DESC1{WCHAR DeviceName[32]; RECT DesktopCoordinates; BOOL AttachedToDesktop; DXGI_MODE_ROTATION Rotation; HMONITOR Monitor; UINT BitsPerColor; DXGI_COLOR_SPACE_TYPE ColorSpace; FLOAT RedPrimary[2]; FLOAT GreenPrimary[2]; FLOAT BluePrimary[2]; FLOAT WhitePoint[2]; FLOAT...
typedef struct DXGI_OUTPUT_DESC { WCHAR DeviceName[32]; RECT DesktopCoordinates; BOOL AttachedToDesktop; DXGI_MODE_ROTATION Rotation; HMONITOR Monitor; } DXGI_OUTPUT_DESC; 成员 DeviceName[32] 类型: WCHAR[32] 包含输出设备名称的字符串。 DesktopCoordinates 类型: RECT 包含桌面坐标中输出边界的 RECT...
DXGI_SWAP_CHAIN_DESC1 结构 DXGI_SWAP_CHAIN_FULLSCREEN_DESC 结构 IDXGIAdapter2 接口 IDXGIDevice2 接口 IDXGIDisplayControl 接口 IDXGIFactory2 接口 IDXGIOutput1 接口 概述 IDXGIOutput1::D uplicateOutput 方法 IDXGIOutput1::FindClosestMatchingMode1 方法 IDXGIOutput1::GetDisplayModeList1 方法 IDXGI...
DXGI_SWAP_CHAIN_DESC1 结构 DXGI_SWAP_CHAIN_FULLSCREEN_DESC 结构 IDXGIAdapter2 接口 IDXGIDevice2 接口 IDXGIDisplayControl 接口 IDXGIFactory2 接口 IDXGIOutput1 接口 概述 IDXGIOutput1::D uplicateOutput 方法 IDXGIOutput1::FindClosestMatchingMode1 方法 ...
DXGI_SWAP_CHAIN_DESC1 结构 DXGI_SWAP_CHAIN_FULLSCREEN_DESC 结构 IDXGIAdapter2 接口 IDXGIDevice2 接口 IDXGIDisplayControl 接口 IDXGIFactory2 接口 IDXGIOutput1 接口 概述 IDXGIOutput1::D uplicateOutput 方法 IDXGIOutput1::FindClosestMatchingMode1 方法 IDXGIOutput1::GetDisplayModeList1 方法 IDXGI...
IDXGIOutput接口 Output对应是输出设备,显示器、投影仪神马的。 IDXGIOutput接口提供的功能包括: 1. 获得显示设备的显示能力:支持哪些图像数据格式,分辨率神马的; GetDisplayModeList(), GetDesc(), FindClosestMatchingMode() 2. 获得和设备的surface数据
intheight=desc.DesktopCoordinates.bottom-desc.DesktopCoordinates.top;break;}}dxgiAdapter->Release();IDXGIOutput1*dxgiOutput1=nullptr;hr=dxgiOutput->QueryInterface(__uuidof(IDXGIOutput1),reinterpret_cast<void**>(&dxgiOutput1));dxgiOutput->Release();if(FAILED(hr)){returnfalse;}hr=dxgiOutput1->...