Open CASCADE Technology  7.4.0
Enumerations | Functions

RWGltf_GltfAccessorLayout.hxx File Reference

#include <Standard_CString.hxx>

Enumerations

enum  RWGltf_GltfAccessorLayout {
  RWGltf_GltfAccessorLayout_UNKNOWN, RWGltf_GltfAccessorLayout_Scalar, RWGltf_GltfAccessorLayout_Vec2, RWGltf_GltfAccessorLayout_Vec3,
  RWGltf_GltfAccessorLayout_Vec4, RWGltf_GltfAccessorLayout_Mat2, RWGltf_GltfAccessorLayout_Mat3, RWGltf_GltfAccessorLayout_Mat4
}
 Low-level glTF enumeration defining Accessor layout. Similar to Graphic3d_TypeOfData but does not define actual type and includes matrices. More...
 

Functions

RWGltf_GltfAccessorLayout RWGltf_GltfParseAccessorType (const char *theType)
 Parse GltfAccessorLayout from string. More...
 

Enumeration Type Documentation

◆ RWGltf_GltfAccessorLayout

Low-level glTF enumeration defining Accessor layout. Similar to Graphic3d_TypeOfData but does not define actual type and includes matrices.

Enumerator
RWGltf_GltfAccessorLayout_UNKNOWN 

unknown or invalid type

RWGltf_GltfAccessorLayout_Scalar 

"SCALAR"

RWGltf_GltfAccessorLayout_Vec2 

"VEC2"

RWGltf_GltfAccessorLayout_Vec3 

"VEC3"

RWGltf_GltfAccessorLayout_Vec4 

"VEC4"

RWGltf_GltfAccessorLayout_Mat2 

"MAT2"

RWGltf_GltfAccessorLayout_Mat3 

"MAT3"

RWGltf_GltfAccessorLayout_Mat4 

"MAT4"

Function Documentation

◆ RWGltf_GltfParseAccessorType()

RWGltf_GltfAccessorLayout RWGltf_GltfParseAccessorType ( const char *  theType)
inline

Parse GltfAccessorLayout from string.