HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GLTF_Types.h File Reference
#include "GLTFZ_API.h"
#include <cstddef>
#include <SYS/SYS_Hash.h>
#include <UT/UT_Options.h>
#include <UT/UT_StringHolder.h>
#include <UT/UT_Vector3.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_MeshInfo
 
struct  GLTF_MaterialInfo
 
struct  GLTF_AnimClip
 
struct  GLTF_TextureTransform
 
struct  GLTF_AttributeInfo
 

Typedefs

typedef std::size_t GLTF_Index
 

Enumerations

enum  GLTF_AttributeType {
  GLTF_AttributeType::Invalid, GLTF_AttributeType::Position, GLTF_AttributeType::Normal, GLTF_AttributeType::Tangent,
  GLTF_AttributeType::TexCoord, GLTF_AttributeType::Color, GLTF_AttributeType::Joints, GLTF_AttributeType::Weights,
  GLTF_AttributeType::Custom
}
 
enum  GLTF_DataType {
  GLTF_DataType::Invalid, GLTF_DataType::Scalar, GLTF_DataType::Vec2, GLTF_DataType::Vec3,
  GLTF_DataType::Vec4, GLTF_DataType::Mat2, GLTF_DataType::Mat3, GLTF_DataType::Mat4
}
 
enum  GLTF_ComponentType {
  GLTF_ComponentType::INVALID, GLTF_ComponentType::INT8, GLTF_ComponentType::UINT8, GLTF_ComponentType::INT16,
  GLTF_ComponentType::UINT16, GLTF_ComponentType::UINT32, GLTF_ComponentType::FLOAT32
}
 
enum  GLTF_PrimitiveType { GLTF_PrimitiveType::Invalid, GLTF_PrimitiveType::Triangles, GLTF_PrimitiveType::PolyLines, GLTF_PrimitiveType::Points }
 
enum  GLTF_ResourceExportLocation { GLTF_ResourceExportLocation::Embedded, GLTF_ResourceExportLocation::ExternalFile }
 
enum  GLTF_ImageExportFormat { GLTF_ImageExportFormat::OriginalOrPNG, GLTF_ImageExportFormat::OriginalOrJPEG, GLTF_ImageExportFormat::PNG, GLTF_ImageExportFormat::JPEG }
 
enum  GLTF_CameraProjection { GLTF_CameraProjection::Orthographic, GLTF_CameraProjection::Perspective }
 
enum  GLTF_TextureType {
  GLTF_TextureType::DiffuseColor, GLTF_TextureType::MetallicRoughness, GLTF_TextureType::Normal, GLTF_TextureType::Occlusion,
  GLTF_TextureType::Transmission, GLTF_TextureType::SpecularColor, GLTF_TextureType::Emissive
}
 
enum  GLTF_WindingOrder { GLTF_WindingOrder::Clockwise, GLTF_WindingOrder::CounterClockwise }
 
enum  GLTFZ_LightType { GLTFZ_LightType::DIRECTIONAL, GLTFZ_LightType::POINT, GLTFZ_LightType::SPOT }
 

Functions

std::size_t hash_value (const GLTF_AttributeInfo &info)
 

Typedef Documentation

typedef std::size_t GLTF_Index

Definition at line 13 of file GLTF_Types.h.

Enumeration Type Documentation

enum GLTF_AttributeType
strong
Enumerator
Invalid 
Position 
Normal 
Tangent 
TexCoord 
Color 
Joints 
Weights 
Custom 

Definition at line 15 of file GLTF_Types.h.

enum GLTF_CameraProjection
strong
Enumerator
Orthographic 
Perspective 

Definition at line 73 of file GLTF_Types.h.

enum GLTF_ComponentType
strong
Enumerator
INVALID 
INT8 
UINT8 
INT16 
UINT16 
UINT32 
FLOAT32 

Definition at line 40 of file GLTF_Types.h.

enum GLTF_DataType
strong
Enumerator
Invalid 
Scalar 
Vec2 
Vec3 
Vec4 
Mat2 
Mat3 
Mat4 

Definition at line 28 of file GLTF_Types.h.

Enumerator
OriginalOrPNG 
OriginalOrJPEG 
PNG 
JPEG 

Definition at line 65 of file GLTF_Types.h.

enum GLTF_PrimitiveType
strong
Enumerator
Invalid 
Triangles 
PolyLines 
Points 

Definition at line 51 of file GLTF_Types.h.

Enumerator
Embedded 
ExternalFile 

Definition at line 59 of file GLTF_Types.h.

enum GLTF_TextureType
strong
Enumerator
DiffuseColor 
MetallicRoughness 
Normal 
Occlusion 
Transmission 
SpecularColor 
Emissive 

Definition at line 79 of file GLTF_Types.h.

enum GLTF_WindingOrder
strong
Enumerator
Clockwise 
CounterClockwise 

Definition at line 90 of file GLTF_Types.h.

enum GLTFZ_LightType
strong
Enumerator
DIRECTIONAL 
POINT 
SPOT 

Definition at line 108 of file GLTF_Types.h.

Function Documentation

std::size_t hash_value ( const GLTF_AttributeInfo &  info)
inline

Definition at line 297 of file GLTF_Types.h.