6 #include <GeometryGenerator/GeometryGenerator.h> 7 #include <ModelManager/Mesh.h> 9 struct ID3D12GraphicsCommandList;
10 struct ID3D12Resource;
27 explicit Model(
const char* modelFilename,
28 ID3D12GraphicsCommandList& commandList,
29 Microsoft::WRL::ComPtr<ID3D12Resource>& uploadVertexBuffer,
30 Microsoft::WRL::ComPtr<ID3D12Resource>& uploadIndexBuffer);
33 ID3D12GraphicsCommandList& commandList,
34 Microsoft::WRL::ComPtr<ID3D12Resource>& uploadVertexBuffer,
35 Microsoft::WRL::ComPtr<ID3D12Resource>& uploadIndexBuffer);
37 __forceinline
bool HasMeshes()
const noexcept
39 return (mMeshes.size() > 0UL);
41 __forceinline
const std::vector<Mesh>& GetMeshes()
const noexcept
47 std::vector<Mesh> mMeshes;
Definition: GeometryGenerator.h:30