Diligent Engine
Loading...
Searching...
No Matches
Diligent::RadientMorphTargetCreateInfo Struct Reference

#include <RadientMorphTargets.h>

Public Attributes

RadientMorphTargetDesc Desc = {}
 Complete immutable description of the target to create.
const RadientMorphTargetAttributeCreateInfo * pAttributeData = nullptr

Detailed Description

Morph-target creation attributes.

CreateMesh and CreateMeshMorphTargetData copy Desc, the attribute-data array, and all referenced metadata before returning. They retain the delta blobs under shared read access without copying the input bytes. The caller can then release its descriptors, 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. The resulting asset does not keep a persistent CPU delta copy.

Member Data Documentation

◆ pAttributeData

const RadientMorphTargetAttributeCreateInfo* Diligent::RadientMorphTargetCreateInfo::pAttributeData = nullptr

Array of Desc.AttributeCount creation-data records corresponding by index to Desc.pAttributes. Must not be null when Desc.AttributeCount is nonzero.