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

#include <RadientSkinning.h>

Public Attributes

const Char * Name = nullptr
IRadientSkeletonAssetpSkeleton = nullptr
const RadientSkinJointBindingDescpJoints = nullptr
Uint32 JointCount = 0
 Number of elements in pJoints. Must not be zero during creation.

Detailed Description

Skin asset description.

During creation, the name and joint bindings are copied and the skeleton is retained. The description returned by IRadientSkinAsset::GetDesc() and all data it references remain valid for the lifetime of the skin.

Member Data Documentation

◆ Name

const Char* Diligent::RadientSkinDesc::Name = nullptr

Optional skin name used for diagnostics. The value returned by a created asset is never null.

◆ pJoints

const RadientSkinJointBindingDesc* Diligent::RadientSkinDesc::pJoints = nullptr

Array of JointCount mesh skin-palette bindings. Must not be null during creation.

◆ pSkeleton

IRadientSkeletonAsset* Diligent::RadientSkinDesc::pSkeleton = nullptr

Skeleton referenced by the skin. Must not be null during creation. The created skin retains it; the pointer returned in this description is borrowed by callers.