27 #ifndef __SOP_GLTFTYPES_H__
28 #define __SOP_GLTFTYPES_H__
44 #define GLTF_INVALID_IDX uint32(~0)
constexpr const char * GLTF_TYPE_NAME_MAT2
UT_Optional< GLTF_Orthographic > orthographic
GLuint const GLchar * name
constexpr const char * GLTF_PROJECTION_NAME_ORTHOGRAPHIC
GLenum GLenum GLenum GLenum GLenum scale
UT_Optional< GLTF_PBRMetallicRoughness > metallicRoughness
GLsizei GLsizei GLchar * source
UT_Optional< fpreal32 > zmag
UT_Array< GLTF_Accessor * > samplers
UT_Array< uint32 > children
const uint32 GLTF_GLB_JSON
const uint32 GLTF_GLB_MAGIC
UT_Optional< GLTF_Perspsective > perspective
hboost::optional< T > UT_Optional
constexpr const char * GLTF_TYPE_NAME_VEC4
constexpr const char * GLTF_TYPE_NAME_VEC3
UT_Optional< GLTF_TextureInfo > emissiveTexture
UT_Optional< GLTF_NormalTextureInfo > normalTexture
static const UT_Matrix4T< float > & getIdentityMatrix()
UT_Optional< GLTF_TextureInfo > occlusionTexture
GLuint GLuint GLsizei GLenum const void * indices
UT_Array< GLTF_Primitive > primitives
constexpr const char * GLTF_PROJECTION_NAME_PERSPECTIVE
constexpr const char * GLTF_TYPE_NAME_MAT4
GLTF_ComponentType componentType
constexpr const char * GLTF_TYPE_NAME_SCALAR
constexpr const char * GLTF_TYPE_NAME_MAT3
GLuint GLuint GLsizei GLenum type
UT_Optional< fpreal32 > aspectRatio
GLuint GLuint GLsizei count
constexpr const char * GLTF_TYPE_NAME_VEC2
const uint32 GLB_BUFFER_IDX
const uint32 GLTF_GLB_BIN
UT_StringMap< uint32 > attributes
GLint GLenum GLboolean normalized
MatType rotation(const Quat< typename MatType::value_type > &q, typename MatType::value_type eps=static_cast< typename MatType::value_type >(1.0e-8))
Return the rotation matrix specified by the given quaternion.