21 const std::uint32_t elementCount,
22 const std::size_t elementSize);
29 bool IsDataValid()
const noexcept;
31 const void* mData{
nullptr };
32 std::uint32_t mElementCount{ 0U };
33 std::size_t mElementSize{ 0UL };
46 bool IsDataValid()
const noexcept;
48 ID3D12Resource* mBuffer{
nullptr };
49 D3D12_VERTEX_BUFFER_VIEW mBufferView{};
50 std::uint32_t mElementCount{ 0U };
63 bool IsDataValid()
const noexcept;
65 ID3D12Resource* mBuffer{
nullptr };
66 D3D12_INDEX_BUFFER_VIEW mBufferView{};
67 std::uint32_t mElementCount{ 0U };
70 static void CreateVertexBuffer(ID3D12GraphicsCommandList& commandList,
73 Microsoft::WRL::ComPtr<ID3D12Resource>& uploadBuffer) noexcept;
75 static void CreateIndexBuffer(ID3D12GraphicsCommandList& commandList,
78 Microsoft::WRL::ComPtr<ID3D12Resource>& uploadBuffer) noexcept;
Definition: VertexAndIndexBufferCreator.h:53
Definition: VertexAndIndexBufferCreator.h:18
Definition: VertexAndIndexBufferCreator.h:9
Definition: VertexAndIndexBufferCreator.h:36