#include <RadientAssets.h>
Public Attributes | |
| const RadientMeshGeometryDesc * | pGeometries = nullptr |
| Uint32 | GeometryCount = 0 |
| Number of elements in pGeometries. Multiple primitives may share a geometry. | |
| const RadientMeshPrimitiveDesc * | pPrimitives = nullptr |
| Uint32 | PrimitiveCount = 0 |
| Number of elements in pPrimitives. | |
| const RadientMorphTargetDesc * | pMorphTargets = nullptr |
| Uint32 | MorphTargetCount = 0 |
| Number of elements in pMorphTargets. | |
Immutable description of a mesh's stored geometry, primitives, and morph targets.
Available after successful CPU loading, independently of GPU upload completion. Before loading succeeds, all counts are zero and all array pointers are null. The mesh owns the descriptor arrays and referenced strings and retains the default materials. All referenced data remains valid while the mesh is retained.
| const RadientMeshGeometryDesc* Diligent::RadientMeshAssetDesc::pGeometries = nullptr |
Array of GeometryCount descriptions of stored vertex and index data. Primitive GeometryIndex values select elements of this array. Null when GeometryCount is zero. The mesh owns this array and all nested layouts.
| const RadientMorphTargetDesc* Diligent::RadientMeshAssetDesc::pMorphTargets = nullptr |
Array of MorphTargetCount morph-target descriptions. The array, its attribute descriptions, and all referenced strings remain valid while the mesh asset is retained. Null when MorphTargetCount is zero.
| const RadientMeshPrimitiveDesc* Diligent::RadientMeshAssetDesc::pPrimitives = nullptr |
Array of PrimitiveCount primitive descriptions, including geometry indices, draw ranges, and default materials. Null when PrimitiveCount is zero. The mesh owns this array and its names and retains its non-null materials.