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

#include <RadientMorphTargets.h>

Public Attributes

const Char * Semantic = nullptr
Uint32 ComponentCount = 0

Detailed Description

Immutable description of one vertex attribute in a morph target.

Morph attributes are identified by case-sensitive semantic strings so that applications may define custom vertex attributes. Standard POSITION, NORMAL, and TANGENT attributes contain three components per vertex.

Member Data Documentation

◆ ComponentCount

Uint32 Diligent::RadientMorphTargetAttributeDesc::ComponentCount = 0

Number of components in each vertex delta. Must be in [1, 4]. Standard POSITION, NORMAL, and TANGENT semantics require three components.

◆ Semantic

const Char* Diligent::RadientMorphTargetAttributeDesc::Semantic = nullptr

Case-sensitive semantic of the destination vertex attribute. Radient copies the string during mesh creation.