|
slot 0.0.1
A real time UI render framework
|
#include <DX12SwapChain.h>


Public 类型 | |
| using | SwapChainTy = IDXGISwapChain3 |
Public 成员函数 | |
| DX12SwapChain (DX12Render *render) | |
| int | GetCurrentBufferIndex () const |
| void | Init (HWND window, int width, int height) |
| void | Present () const |
| void | Reset () |
| void | Resize (int width, int height) const |
| SwapChainTy * | operator-> () const |
Public 成员函数 继承自 z8::DX12Common | |
| DX12Common (DX12Render *) | |
| virtual | ~DX12Common ()=default |
Public 属性 | |
| ComPtr< SwapChainTy > | SwapChain |
| DXGI_FORMAT | Format = DXGI_FORMAT_R8G8B8A8_UNORM |
Public 属性 继承自 z8::DX12Common | |
| DX12Device * | Ctx |
| DX12Render * | Render |
静态 Public 属性 | |
| static constexpr int | BufferCount = 2 |
单个 HWND 的 Flip-model 交换链;尺寸和窗口由调用方显式提供。
|
explicit |
| int DX12SwapChain::GetCurrentBufferIndex | ( | ) | const |

| DX12SwapChain::SwapChainTy * DX12SwapChain::operator-> | ( | ) | const |
| void DX12SwapChain::Present | ( | ) | const |

| void DX12SwapChain::Reset | ( | ) |

| DXGI_FORMAT z8::DX12SwapChain::Format = DXGI_FORMAT_R8G8B8A8_UNORM |
| ComPtr<SwapChainTy> z8::DX12SwapChain::SwapChain |