BRE12
Public Member Functions | Static Public Member Functions | List of all members
BRE::UploadBuffer Class Reference

Public Member Functions

 UploadBuffer (ID3D12Device &device, const std::size_t elementSize, const std::uint32_t elementCount)
 
 UploadBuffer (const UploadBuffer &)=delete
 
const UploadBufferoperator= (const UploadBuffer &)=delete
 
 UploadBuffer (UploadBuffer &&)=delete
 
UploadBufferoperator= (UploadBuffer &&)=delete
 
__forceinline ID3D12Resource * GetResource () const noexcept
 
void CopyData (const std::uint32_t elementIndex, const void *sourceData, const std::size_t sourceDataSize) const noexcept
 

Static Public Member Functions

static std::size_t GetRoundedConstantBufferSizeInBytes (const std::size_t sizeInBytes)
 

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