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

Public Member Functions

bool Initialize (ID3D12Device *device, ID3D12DescriptorHeap *heap, uint64_t size)
 
void Map (uint32_t subresource, uint64_t size)
 
void Fill (void **data, size_t size, size_t cbSize, uint32_t currentFrame)
 
void Unmap (uint32_t subresource)
 
const D3D12_GPU_VIRTUAL_ADDRESS & GetGPUAddress ()
 

Public Attributes

UINT8 * m_mappedData
 
D3D12_CONSTANT_BUFFER_VIEW_DESC m_view
 
D3D12_GPU_VIRTUAL_ADDRESS m_gpuAddress
 
ID3D12Resource * m_buffer
 

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