Lagrange
Loading...
Searching...
No Matches
AttributeName Struct Reference

Static Public Attributes

static constexpr std::string_view normal = "normal"
 Normal.
 
static constexpr std::string_view color = "color"
 Color.
 
static constexpr std::string_view texcoord = "texcoord"
 Texture coordinates.
 
static constexpr std::string_view tangent = "tangent"
 Tangent.
 
static constexpr std::string_view bitangent = "bitangent"
 Bitangent.
 
static constexpr std::string_view material_id = "material_id"
 Material ID.
 
static constexpr std::string_view object_id = "object_id"
 Object ID (in obj files).
 
static constexpr std::string_view weight = "weight"
 Skinning weights, with all joints specified for each vertex.
 
static constexpr std::string_view indexed_weight = "indexed_weight"
 Indexed skinning weights, with a fixed number (typically 4) specified for each vertex.
 
static constexpr std::string_view indexed_joint = "indexed_joint"
 Indexed skinning index, with a fixed number (typically 4) specified for each vertex.
 

Member Data Documentation

◆ normal

std::string_view normal = "normal"
staticconstexpr

Normal.

Paired with AttributeUsage::Normal.

◆ color

std::string_view color = "color"
staticconstexpr

Color.

Paired with AttributeUsage::Color.

◆ texcoord

std::string_view texcoord = "texcoord"
staticconstexpr

Texture coordinates.

Paired with AttributeUsage::UV. Other common names are UV, UVs.

◆ tangent

std::string_view tangent = "tangent"
staticconstexpr

Tangent.

Paired with AttributeUsage::Vector.

◆ bitangent

std::string_view bitangent = "bitangent"
staticconstexpr

Bitangent.

Paired with AttributeUsage::Vector.

◆ material_id

std::string_view material_id = "material_id"
staticconstexpr

Material ID.

Paired with AttributeUsage::Scalar.

◆ object_id

std::string_view object_id = "object_id"
staticconstexpr

Object ID (in obj files).

Paired with AttributeUsage::Scalar.

◆ weight

std::string_view weight = "weight"
staticconstexpr

Skinning weights, with all joints specified for each vertex.

Paired with AttributeUsage::Vector.

◆ indexed_weight

std::string_view indexed_weight = "indexed_weight"
staticconstexpr

Indexed skinning weights, with a fixed number (typically 4) specified for each vertex.

Paired with AttributeUsage::Vector.

◆ indexed_joint

std::string_view indexed_joint = "indexed_joint"
staticconstexpr

Indexed skinning index, with a fixed number (typically 4) specified for each vertex.

Paired with AttributeUsage::Vector. Other common names include bone, bone_index, handle.


The documentation for this struct was generated from the following file: