HatchitGraphics
Public Member Functions | List of all members
Hatchit::Graphics::DX::D3D12DeviceResources Class Reference

Public Member Functions

void Present ()
 
void WaitForGpu ()
 
void ExecuteCommandList ()
 
void MoveToNextFrame ()
 
void ValidateDevice ()
 
bool Initialize (HWND hwnd, uint32_t width, uint32_t height)
 
void Resize (uint32_t width, uint32_t height)
 
ID3D12Device * GetDevice ()
 
D3D12RootLayoutGetRootLayout ()
 
IDXGISwapChain3 * GetSwapChain ()
 
ID3D12Resource * GetRenderTarget ()
 
ID3D12Resource * GetDepthStencil ()
 
ID3D12CommandAllocator * GetCommandAllocator ()
 
ID3D12CommandQueue * GetCommandQueue ()
 
ID3D12GraphicsCommandList * GetCommandList ()
 
D3D12_VIEWPORT GetScreenViewport ()
 
uint32_t GetCurrentFrameIndex ()
 
CD3DX12_CPU_DESCRIPTOR_HANDLE GetRenderTargetView ()
 
CD3DX12_CPU_DESCRIPTOR_HANDLE GetDepthStencilView ()
 

The documentation for this class was generated from the following files: