#include <RadientAssets.h>
Public Attributes | |
| const RadientMorphTargetCreateInfo * | pMorphTargets = nullptr |
| Uint32 | MorphTargetCount = 0 |
CPU morph targets supplied to CreateMesh or CreateMeshMorphTargetData.
Both calls copy descriptions, names, attribute semantics, and all delta values before returning. The caller can then release the source arrays and strings. Delta values use transient source and upload storage; retaining the resulting asset does not keep a persistent CPU copy of the deltas.
| Uint32 Diligent::RadientMeshMorphTargetData::MorphTargetCount = 0 |
Number of elements in pMorphTargets. Zero means no morph targets in CreateMesh; CreateMeshMorphTargetData requires a nonzero count.
| const RadientMorphTargetCreateInfo* Diligent::RadientMeshMorphTargetData::pMorphTargets = nullptr |
Array of MorphTargetCount morph targets. Must be non-null when MorphTargetCount is nonzero. Every attribute contains the vertex count times its ComponentCount tightly packed FLOAT32 values. CreateMesh uses VertexData.VertexCount; CreateMeshMorphTargetData takes the count as a separate argument. The validation rules in RadientMorphTargetCreateInfo apply to each target, including unique attribute semantics and finite default weights.