cesium-native 0.43.0
Loading...
Searching...
No Matches
VertexAttributeSemantics.h
1#pragma once
2
3#include <array>
4#include <string>
5
6namespace CesiumGltf {
7
16 static const std::string POSITION;
17
21 static const std::string NORMAL;
22
28 static const std::string TANGENT;
29
33 static const std::array<std::string, 8> TEXCOORD_n;
34
38 static const std::array<std::string, 8> COLOR_n;
39
44 static const std::array<std::string, 8> JOINTS_n;
45
49 static const std::array<std::string, 8> WEIGHTS_n;
50
54 static const std::array<std::string, 8> FEATURE_ID_n;
55};
56
57} // namespace CesiumGltf
Classes for working with glTF models.
The standard glTF vertex attribute semantics from the specification plus additional vertex attribute ...
static const std::array< std::string, 8 > COLOR_n
RGB or RGBA vertex color linear multiplier.
static const std::string TANGENT
XYZW vertex tangents where the XYZ portion is normalized, and the W component is a sign value (-1 or ...
static const std::string POSITION
Unitless XYZ vertex positions.
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 > FEATURE_ID_n
Feature IDs used by EXT_mesh_features.
static const std::array< std::string, 8 > TEXCOORD_n
ST texture coordinates.
static const std::array< std::string, 8 > WEIGHTS_n
The weights indicating how strongly the joint influences the vertex.
static const std::string NORMAL
Normalized XYZ vertex normals.