cesium-native 0.43.0
Loading...
Searching...
No Matches
CesiumGltf::VertexAttributeSemantics Struct Reference

The standard glTF vertex attribute semantics from the specification plus additional vertex attribute semantics from extensions. More...

#include <CesiumGltf/VertexAttributeSemantics.h>

Static Public Attributes

static const std::string POSITION
 Unitless XYZ vertex positions.
 
static const std::string NORMAL
 Normalized XYZ vertex normals.
 
static const std::string TANGENT
 XYZW vertex tangents where the XYZ portion is normalized, and the W component is a sign value (-1 or +1) indicating handedness of the tangent basis.
 
static const std::array< std::string, 8 > TEXCOORD_n
 ST texture coordinates.
 
static const std::array< std::string, 8 > COLOR_n
 RGB or RGBA vertex color linear multiplier.
 
static const std::array< std::string, 8 > JOINTS_n
 The indices of the joints from the corresponding skin.joints array that affect the vertex.
 
static const std::array< std::string, 8 > WEIGHTS_n
 The weights indicating how strongly the joint influences the vertex.
 
static const std::array< std::string, 8 > FEATURE_ID_n
 Feature IDs used by EXT_mesh_features.
 

Detailed Description

The standard glTF vertex attribute semantics from the specification plus additional vertex attribute semantics from extensions.

Definition at line 12 of file VertexAttributeSemantics.h.

Member Data Documentation

◆ COLOR_n

const std::array<std::string, 8> CesiumGltf::VertexAttributeSemantics::COLOR_n
static

RGB or RGBA vertex color linear multiplier.

Definition at line 38 of file VertexAttributeSemantics.h.

◆ FEATURE_ID_n

const std::array<std::string, 8> CesiumGltf::VertexAttributeSemantics::FEATURE_ID_n
static

Feature IDs used by EXT_mesh_features.

Definition at line 54 of file VertexAttributeSemantics.h.

◆ JOINTS_n

const std::array<std::string, 8> CesiumGltf::VertexAttributeSemantics::JOINTS_n
static

The indices of the joints from the corresponding skin.joints array that affect the vertex.

Definition at line 44 of file VertexAttributeSemantics.h.

◆ NORMAL

const std::string CesiumGltf::VertexAttributeSemantics::NORMAL
static

Normalized XYZ vertex normals.

Definition at line 21 of file VertexAttributeSemantics.h.

◆ POSITION

const std::string CesiumGltf::VertexAttributeSemantics::POSITION
static

Unitless XYZ vertex positions.

Definition at line 16 of file VertexAttributeSemantics.h.

◆ TANGENT

const std::string CesiumGltf::VertexAttributeSemantics::TANGENT
static

XYZW vertex tangents where the XYZ portion is normalized, and the W component is a sign value (-1 or +1) indicating handedness of the tangent basis.

Definition at line 28 of file VertexAttributeSemantics.h.

◆ TEXCOORD_n

const std::array<std::string, 8> CesiumGltf::VertexAttributeSemantics::TEXCOORD_n
static

ST texture coordinates.

Definition at line 33 of file VertexAttributeSemantics.h.

◆ WEIGHTS_n

const std::array<std::string, 8> CesiumGltf::VertexAttributeSemantics::WEIGHTS_n
static

The weights indicating how strongly the joint influences the vertex.

Definition at line 49 of file VertexAttributeSemantics.h.


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