12 const std::size_t elementSize,
13 const std::uint32_t elementCount);
21 __forceinline ID3D12Resource* GetResource()
const noexcept
26 void CopyData(
const std::uint32_t elementIndex,
27 const void* sourceData,
28 const std::size_t sourceDataSize)
const noexcept;
33 static std::size_t GetRoundedConstantBufferSizeInBytes(
const std::size_t sizeInBytes);
36 Microsoft::WRL::ComPtr<ID3D12Resource> mBuffer;
37 std::uint8_t* mMappedData{
nullptr };
38 std::size_t mElementSize{ 0U };
Definition: UploadBuffer.h:9