ngfx::D3DSwapchain
Inherits from ngfx::Swapchain
Public Functions
Name | |
---|---|
void | create(D3DGraphicsContext * ctx, D3DSurface * surface) |
virtual | ~D3DSwapchain() |
virtual void | acquireNextImage() override |
void | present() |
Public Attributes
Name | |
---|---|
ComPtr< IDXGISwapChain3 > | v |
std::vector< ComPtr< ID3D12Resource > > | renderTargets |
std::vector< D3DDescriptorHandle > | renderTargetDescriptors |
Additional inherited members
Public Functions inherited from ngfx::Swapchain
Name | |
---|---|
virtual | ~Swapchain() |
Public Attributes inherited from ngfx::Swapchain
Name | |
---|---|
uint32_t | numImages |
Public Functions Documentation
function create
void create(
D3DGraphicsContext * ctx,
D3DSurface * surface
)
function ~D3DSwapchain
inline virtual ~D3DSwapchain()
function acquireNextImage
virtual void acquireNextImage() override
Reimplements: ngfx::Swapchain::acquireNextImage
function present
void present()
Public Attributes Documentation
variable v
ComPtr< IDXGISwapChain3 > v;
variable renderTargets
std::vector< ComPtr< ID3D12Resource > > renderTargets;
variable renderTargetDescriptors
std::vector< D3DDescriptorHandle > renderTargetDescriptors;
Updated on 3 April 2021 at 20:21:51 PDT