#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, and attribute semantics and retain the delta blobs under shared read access before returning, without copying the input bytes. The caller can then release its source arrays, strings, and blob references. End blob write access before the call; an active writer returns RADIENT_STATUS_INVALID_OPERATION. Read access ends when source processing finishes, independently of GPU upload completion. Reference blobs retain their normal external-storage lifetime requirements. 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.