![]() |
Bullet Physics 3D Block Toy
|
Mesh descriptor. More...
#include <Descriptors.h>
Public Member Functions | |
| CMeshDesc (const eMesh) | |
| Constructor. More... | |
| ~CMeshDesc () | |
| Destructor. | |
Public Attributes | |
| eMesh | m_eMeshType = eMesh::Unknown |
| Mesh type. | |
| UINT | m_nTriangulationLevel = 1 |
| Triangulation level. | |
| std::unique_ptr< GeometricPrimitive > | m_pPrimitive = nullptr |
| Pointer to primitive. | |
| std::vector< VertexPositionNormalTexture > | m_vecVertexBuffer |
| Copy of vertex buffer. | |
| std::vector< uint16_t > | m_vecIndexBuffer |
| Copy of index buffer. | |
| BasicEffect * | m_pEffect = nullptr |
| Effect pointer. | |
| Vector3 | m_vExtents |
| Extents of primitive in Render World coordinates. | |
| float | m_fRadius = 0.0f |
| Radius in Render World coordinates. | |
| float | m_fScale = 1.0f |
| Scale. | |
Describes various properties of the mesh for a geometric primitive from DirectXTK12. This descriptor uses a unique_ptr to a GeometricPrimitive because DirectXTK12 insists that we use managed pointers, like it or not.
| CMeshDesc::CMeshDesc | ( | const eMesh | t | ) |
Constructor.
| t | Mesh type. |