5 #include <GeometryGenerator/GeometryGenerator.h> 6 #include <ResourceManager\VertexAndIndexBufferCreator.h> 7 #include <Utils/DebugUtils.h> 10 struct ID3D12GraphicsCommandList;
22 const Mesh& operator=(
const Mesh&) =
delete;
30 BRE_ASSERT(mVertexBufferData.IsDataValid());
31 return mVertexBufferData;
38 BRE_ASSERT(mIndexBufferData.IsDataValid());
39 return mIndexBufferData;
48 ID3D12GraphicsCommandList& commandList,
49 Microsoft::WRL::ComPtr<ID3D12Resource>& uploadVertexBuffer,
50 Microsoft::WRL::ComPtr<ID3D12Resource>& uploadIndexBuffer);
53 ID3D12GraphicsCommandList& commandList,
54 Microsoft::WRL::ComPtr<ID3D12Resource>& uploadVertexBuffer,
55 Microsoft::WRL::ComPtr<ID3D12Resource>& uploadIndexBuffer);
A mesh represents a geometry or model with a single material.
Definition: mesh.h:467
Definition: VertexAndIndexBufferCreator.h:53
Definition: GeometryGenerator.h:30
Definition: VertexAndIndexBufferCreator.h:36