HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GLTF_Types.h File Reference
#include "GLTF_API.h"
#include <UT/UT_Matrix4.h>
#include <UT/UT_Optional.h>
#include <UT/UT_String.h>
#include <UT/UT_StringHolder.h>
#include <UT/UT_StringMap.h>
#include <UT/UT_Array.h>
#include <UT/UT_Vector3.h>
#include <UT/UT_Vector4.h>
+ Include dependency graph for GLTF_Types.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  GLTF_TextureInfo
 
struct  GLTF_NormalTextureInfo
 
struct  GLTF_Accessor
 
struct  GLTF_Animation
 
struct  GLTF_Asset
 
struct  GLTF_Buffer
 
struct  GLTF_BufferView
 
struct  GLTF_Orthographic
 
struct  GLTF_Perspsective
 
struct  GLTF_Camera
 
struct  GLTF_Channel
 
struct  GLTF_Images
 
struct  GLTF_Indices
 
struct  GLTF_PBRMetallicRoughness
 
struct  GLTF_Material
 
struct  GLTF_Primitive
 
struct  GLTF_Mesh
 
struct  GLTF_Sampler
 
struct  GLTF_Image
 
struct  GLTF_Node
 
struct  GLTF_Scene
 
struct  GLTF_Skin
 
struct  GLTF_Sparse
 
struct  GLTF_Target
 
struct  GLTF_Texture
 

Macros

#define GLTF_INVALID_IDX   uint32(~0)
 

Typedefs

typedef uint32 GLTF_Int
 
typedef uint32 GLTF_Offset
 
typedef uint32 GLTF_Handle
 

Enumerations

enum  GLTF_RenderMode {
  GLTF_RENDERMODE_POINTS = 0, GLTF_RENDERMODE_LINES = 1, GLTF_RENDERMODE_LINE_LOOP = 2, GLTF_RENDERMODE_LINE_STRIP = 3,
  GLTF_RENDERMODE_TRIANGLES = 4, GLTF_RENDERMODE_TRIANGLE_STRIP = 5, GLTF_RENDERMODE_TRIANGLE_FAN = 6, GLTF_RENDERMODE_INVALID
}
 
enum  GLTF_ComponentType {
  GLTF_COMPONENT_INVALID = 0, GLTF_COMPONENT_BYTE = 5120, GLTF_COMPONENT_UNSIGNED_BYTE = 5121, GLTF_COMPONENT_SHORT = 5122,
  GLTF_COMPONENT_UNSIGNED_SHORT = 5123, GLTF_COMPONENT_UNSIGNED_INT = 5125, GLTF_COMPONENT_FLOAT = 5126
}
 
enum  GLTF_BufferViewTarget { GLTF_BUFFER_INVALID = 0, GLTF_BUFFER_ARRAY = 34962, GLTF_BUFFER_ELEMENT = 34963 }
 
enum  GLTF_TexFilter {
  GLTF_TEXFILTER_INVALID = 0, GLTF_TEXFILTER_NEAREST = 9728, GLTF_TEXFILTER_LINEAR = 9729, GLTF_TEXFILTER_NEAREST_MIPMAP_NEAREST = 9984,
  GLTF_TEXFILTER_LINEAR_MIPMAP_NEAREST = 9985, GLTF_TEXFILTER_NEAREST_MIPMAP_LINEAR = 9986, GLTF_TEXFILTER_LINEAR_MIPMAP_LINEAR = 9987
}
 
enum  GLTF_TexWrap { GLTF_TEXWRAP_INVALID = 0, GLTF_TEXWRAP_CLAMP_TO_EDGE = 33071, GLTF_TEXWRAP_MIRRORED_REPEAT = 33648, GLTF_TEXWRAP_REPEAT = 10497 }
 
enum  GLTF_Type {
  GLTF_TYPE_INVALID = 0, GLTF_TYPE_SCALAR, GLTF_TYPE_VEC2, GLTF_TYPE_VEC3,
  GLTF_TYPE_VEC4, GLTF_TYPE_MAT2, GLTF_TYPE_MAT3, GLTF_TYPE_MAT4
}
 
enum  GLTF_TRANSFORM_TYPE { GLTF_TRANSFORM_NONE = 0, GLTF_TRANSFORM_MAT4, GLTF_TRANSFORM_TRS }
 
enum  GLTF_TextureTypes { TEXTURE_NONE = 0, TEXTURE_NORMAL, TEXTURE_OCCLUSION, TEXTURE_EMISSIVE }
 

Variables

const uint32 GLB_BUFFER_IDX = 0
 
const uint32 GLTF_GLB_MAGIC = 0x46546C67
 
const uint32 GLTF_GLB_JSON = 0x4E4F534A
 
const uint32 GLTF_GLB_BIN = 0x004E4942
 
constexpr const char * GLTF_PROJECTION_NAME_ORTHOGRAPHIC = "ORTHOGRAPHIC"
 
constexpr const char * GLTF_PROJECTION_NAME_PERSPECTIVE = "PERSPECTIVE"
 
constexpr const char * GLTF_TYPE_NAME_SCALAR = "SCALAR"
 
constexpr const char * GLTF_TYPE_NAME_VEC2 = "VEC2"
 
constexpr const char * GLTF_TYPE_NAME_VEC3 = "VEC3"
 
constexpr const char * GLTF_TYPE_NAME_VEC4 = "VEC4"
 
constexpr const char * GLTF_TYPE_NAME_MAT2 = "MAT2"
 
constexpr const char * GLTF_TYPE_NAME_MAT3 = "MAT3"
 
constexpr const char * GLTF_TYPE_NAME_MAT4 = "MAT4"
 

Macro Definition Documentation

#define GLTF_INVALID_IDX   uint32(~0)

Definition at line 41 of file GLTF_Types.h.

Typedef Documentation

Definition at line 45 of file GLTF_Types.h.

typedef uint32 GLTF_Int

Definition at line 43 of file GLTF_Types.h.

Definition at line 44 of file GLTF_Types.h.

Enumeration Type Documentation

Enumerator
GLTF_BUFFER_INVALID 
GLTF_BUFFER_ARRAY 
GLTF_BUFFER_ELEMENT 

Definition at line 85 of file GLTF_Types.h.

Enumerator
GLTF_COMPONENT_INVALID 
GLTF_COMPONENT_BYTE 
GLTF_COMPONENT_UNSIGNED_BYTE 
GLTF_COMPONENT_SHORT 
GLTF_COMPONENT_UNSIGNED_SHORT 
GLTF_COMPONENT_UNSIGNED_INT 
GLTF_COMPONENT_FLOAT 

Definition at line 74 of file GLTF_Types.h.

Enumerator
GLTF_RENDERMODE_POINTS 
GLTF_RENDERMODE_LINES 
GLTF_RENDERMODE_LINE_LOOP 
GLTF_RENDERMODE_LINE_STRIP 
GLTF_RENDERMODE_TRIANGLES 
GLTF_RENDERMODE_TRIANGLE_STRIP 
GLTF_RENDERMODE_TRIANGLE_FAN 
GLTF_RENDERMODE_INVALID 

Definition at line 62 of file GLTF_Types.h.

Enumerator
GLTF_TEXFILTER_INVALID 
GLTF_TEXFILTER_NEAREST 
GLTF_TEXFILTER_LINEAR 
GLTF_TEXFILTER_NEAREST_MIPMAP_NEAREST 
GLTF_TEXFILTER_LINEAR_MIPMAP_NEAREST 
GLTF_TEXFILTER_NEAREST_MIPMAP_LINEAR 
GLTF_TEXFILTER_LINEAR_MIPMAP_LINEAR 

Definition at line 92 of file GLTF_Types.h.

Enumerator
TEXTURE_NONE 
TEXTURE_NORMAL 
TEXTURE_OCCLUSION 
TEXTURE_EMISSIVE 

Definition at line 133 of file GLTF_Types.h.

Enumerator
GLTF_TEXWRAP_INVALID 
GLTF_TEXWRAP_CLAMP_TO_EDGE 
GLTF_TEXWRAP_MIRRORED_REPEAT 
GLTF_TEXWRAP_REPEAT 

Definition at line 103 of file GLTF_Types.h.

Enumerator
GLTF_TRANSFORM_NONE 
GLTF_TRANSFORM_MAT4 
GLTF_TRANSFORM_TRS 

Definition at line 126 of file GLTF_Types.h.

enum GLTF_Type
Enumerator
GLTF_TYPE_INVALID 
GLTF_TYPE_SCALAR 
GLTF_TYPE_VEC2 
GLTF_TYPE_VEC3 
GLTF_TYPE_VEC4 
GLTF_TYPE_MAT2 
GLTF_TYPE_MAT3 
GLTF_TYPE_MAT4 

Definition at line 114 of file GLTF_Types.h.

Variable Documentation

const uint32 GLB_BUFFER_IDX = 0

Definition at line 47 of file GLTF_Types.h.

const uint32 GLTF_GLB_BIN = 0x004E4942

Definition at line 50 of file GLTF_Types.h.

const uint32 GLTF_GLB_JSON = 0x4E4F534A

Definition at line 49 of file GLTF_Types.h.

const uint32 GLTF_GLB_MAGIC = 0x46546C67

Definition at line 48 of file GLTF_Types.h.

constexpr const char* GLTF_PROJECTION_NAME_ORTHOGRAPHIC = "ORTHOGRAPHIC"

Definition at line 52 of file GLTF_Types.h.

constexpr const char* GLTF_PROJECTION_NAME_PERSPECTIVE = "PERSPECTIVE"

Definition at line 53 of file GLTF_Types.h.

constexpr const char* GLTF_TYPE_NAME_MAT2 = "MAT2"

Definition at line 58 of file GLTF_Types.h.

constexpr const char* GLTF_TYPE_NAME_MAT3 = "MAT3"

Definition at line 59 of file GLTF_Types.h.

constexpr const char* GLTF_TYPE_NAME_MAT4 = "MAT4"

Definition at line 60 of file GLTF_Types.h.

constexpr const char* GLTF_TYPE_NAME_SCALAR = "SCALAR"

Definition at line 54 of file GLTF_Types.h.

constexpr const char* GLTF_TYPE_NAME_VEC2 = "VEC2"

Definition at line 55 of file GLTF_Types.h.

constexpr const char* GLTF_TYPE_NAME_VEC3 = "VEC3"

Definition at line 56 of file GLTF_Types.h.

constexpr const char* GLTF_TYPE_NAME_VEC4 = "VEC4"

Definition at line 57 of file GLTF_Types.h.