3 #include <DirectXMath.h> 5 #include <MathUtils\MathUtils.h> 6 #include <Utils\DebugUtils.h> 9 class MaterialProperties;
10 class MaterialTechnique;
18 const DirectX::XMFLOAT4X4& worldMatrix)
20 , mMaterialProperties(&materialProperties)
21 , mMaterialTechnique(&materialTechnique)
22 , mWorldMatrix(worldMatrix)
25 const Model& GetModel()
const noexcept
27 BRE_ASSERT(mModel !=
nullptr);
33 BRE_ASSERT(mMaterialProperties !=
nullptr);
34 return *mMaterialProperties;
39 BRE_ASSERT(mMaterialTechnique !=
nullptr);
40 return *mMaterialTechnique;
43 const DirectX::XMFLOAT4X4& GetWorldMatrix()
const noexcept
49 const Model* mModel{
nullptr };
52 DirectX::XMFLOAT4X4 mWorldMatrix{ MathUtils::GetIdentity4x4Matrix() };
Definition: MaterialTechnique.h:8
Definition: MaterialProperties.h:6
Definition: DrawableObject.h:13