typedefstructDXGI_MODE_DESC1{UINT Width; UINT Height; DXGI_RATIONAL RefreshRate; DXGI_FORMAT Format; DXGI_MODE_SCANLINE_ORDER ScanlineOrdering; DXGI_MODE_SCALING Scaling; BOOL Stereo; } DXGI_MODE_DESC1; 成员 Width 描述分辨率宽度的值。
DXGI_DDI_MODE_DESC结构描述显示模式。 语法 C++ typedefstructDXGI_DDI_MODE_DESC{[out] UINT Width; [out] UINT Height; [out] DXGI_FORMAT Format; [out] DXGI_DDI_RATIONAL RefreshRate; [out] DXGI_DDI_MODE_SCANLINE_ORDER ScanlineOrdering; [out] DXGI_DDI_MODE_ROTATION Rotation; [out] DXGI_D...
typedefstructDXGI_MODE_DESC1{UINT Width; UINT Height; DXGI_RATIONAL RefreshRate; DXGI_FORMAT Format; DXGI_MODE_SCANLINE_ORDER ScanlineOrdering; DXGI_MODE_SCALING Scaling; BOOL Stereo; } DXGI_MODE_DESC1; 成员 Width 描述分辨率宽度的值。
CD3D11_RENDER_TARGET_VIEW_DESC::operator const D3D11_RENDER_TARGET_VIEW_DESC&() method (Windows) SIZETToPtrdiffT function (Windows) Intersects(XMVECTOR, XMVECTOR, XMVECTOR, XMVECTOR, XMVECTOR, float&) method (Windows) DXGI_MODE_ROTATION enumeration (Windows) AllocateHeap function (Windows) Tra...
调用 SetFullscreenState 后,建议使用 refreshRate 成员DXGI_MODE_DESC清零再次调用 ResizeTarget。这相当于 DXGI 中的无操作指令,但它可以避免刷新率问题,稍后将对此进行讨论。在全屏模式下,桌面窗口管理器 (DWM) 处于禁用状态。 DXGI 可以执行翻转来显示后台缓冲区内容,而不是在窗口模式下执行 blit 操作。 但是,...
typedefstructDXGI_SWAP_CHAIN_DESC{DXGI_MODE_DESC BufferDesc; DXGI_SAMPLE_DESC SampleDesc; DXGI_USAGE BufferUsage; UINT BufferCount; HWND OutputWindow; BOOL Windowed; DXGI_SWAP_EFFECT SwapEffect; UINT Flags; } DXGI_SWAP_CHAIN_DESC; 成员
typedefstructDXGI_SWAP_CHAIN_DESC{DXGI_MODE_DESC BufferDesc; DXGI_SAMPLE_DESC SampleDesc; DXGI_USAGE BufferUsage; UINT BufferCount; HWND OutputWindow; BOOL Windowed; DXGI_SWAP_EFFECT SwapEffect; UINT Flags; } DXGI_SWAP_CHAIN_DESC; 成员
typedefstructDXGI_SWAP_CHAIN_DESC{DXGI_MODE_DESC BufferDesc; DXGI_SAMPLE_DESC SampleDesc; DXGI_USAGE BufferUsage; UINT BufferCount; HWND OutputWindow; BOOL Windowed; DXGI_SWAP_EFFECT SwapEffect; UINT Flags; } DXGI_SWAP_CHAIN_DESC; 成员
它允许我访问当前的分辨率和刷新率。将其与IDXGIOutput::FindClosestMatchingMode函数结合使用,我可以非常...
(void*,conststd::vector<Param>&),void*user);private:CComPtr<ID3D11Device>hDevice_;CComPtr<ID3D11DeviceContext>hContext_;CComPtr<IDXGIAdapter>hDxgiAdapter_;structOutputAttrib{CComPtr<IDXGIOutputDuplication>dup;DXGI_OUTPUT_DESCdupdesc;LARGE_INTEGERLastPresentTime;};std::vector<OutputAttrib>outputs_;...