HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GLTF_AttributeInfo Struct Reference

#include <GLTF_Types.h>

Public Member Functions

bool operator== (const GLTF_AttributeInfo &other) const
 
void init (const UT_StringHolder &_name, GLTF_Index mesh_id, GLTF_Index prim_id, GLTF_Index attr_count, GLTF_AttributeType attr_type, GLTF_DataType data_type, int component_size)
 
void initAsVec2 (const UT_StringHolder &_name, GLTF_Index mesh_id, GLTF_Index prim_id, GLTF_Index attr_count, GLTF_AttributeType attr_type)
 
void initAsVec3 (const UT_StringHolder &_name, GLTF_Index mesh_id, GLTF_Index prim_id, GLTF_Index attr_count, GLTF_AttributeType attr_type)
 
void initAsVec4 (const UT_StringHolder &_name, GLTF_Index mesh_id, GLTF_Index prim_id, GLTF_Index attr_count, GLTF_AttributeType attr_type)
 

Public Attributes

UT_StringHolder name
 
GLTF_Index meshId
 
GLTF_Index primitiveId
 
GLTF_Index attributeCount
 
GLTF_Index componentSize
 
GLTF_AttributeType attributeType
 
GLTF_DataType dataType
 
UT_Vector3F positionMin
 
UT_Vector3F positionMax
 
bool dracoAttribute = false
 
GLTF_Index dracoAttributeId
 
GLTF_ComponentType dracoAttributeDataType
 

Friends

std::size_t hash_value (const GLTF_AttributeInfo &info)
 

Detailed Description

Definition at line 195 of file GLTF_Types.h.

Member Function Documentation

void GLTF_AttributeInfo::init ( const UT_StringHolder _name,
GLTF_Index  mesh_id,
GLTF_Index  prim_id,
GLTF_Index  attr_count,
GLTF_AttributeType  attr_type,
GLTF_DataType  data_type,
int  component_size 
)
inline

Definition at line 227 of file GLTF_Types.h.

void GLTF_AttributeInfo::initAsVec2 ( const UT_StringHolder _name,
GLTF_Index  mesh_id,
GLTF_Index  prim_id,
GLTF_Index  attr_count,
GLTF_AttributeType  attr_type 
)
inline

Definition at line 245 of file GLTF_Types.h.

void GLTF_AttributeInfo::initAsVec3 ( const UT_StringHolder _name,
GLTF_Index  mesh_id,
GLTF_Index  prim_id,
GLTF_Index  attr_count,
GLTF_AttributeType  attr_type 
)
inline

Definition at line 261 of file GLTF_Types.h.

void GLTF_AttributeInfo::initAsVec4 ( const UT_StringHolder _name,
GLTF_Index  mesh_id,
GLTF_Index  prim_id,
GLTF_Index  attr_count,
GLTF_AttributeType  attr_type 
)
inline

Definition at line 277 of file GLTF_Types.h.

bool GLTF_AttributeInfo::operator== ( const GLTF_AttributeInfo other) const
inline

Definition at line 212 of file GLTF_Types.h.

Friends And Related Function Documentation

std::size_t hash_value ( const GLTF_AttributeInfo info)
friend

Definition at line 297 of file GLTF_Types.h.

Member Data Documentation

GLTF_Index GLTF_AttributeInfo::attributeCount

Definition at line 200 of file GLTF_Types.h.

GLTF_AttributeType GLTF_AttributeInfo::attributeType

Definition at line 202 of file GLTF_Types.h.

GLTF_Index GLTF_AttributeInfo::componentSize

Definition at line 201 of file GLTF_Types.h.

GLTF_DataType GLTF_AttributeInfo::dataType

Definition at line 203 of file GLTF_Types.h.

bool GLTF_AttributeInfo::dracoAttribute = false

Definition at line 208 of file GLTF_Types.h.

GLTF_ComponentType GLTF_AttributeInfo::dracoAttributeDataType

Definition at line 210 of file GLTF_Types.h.

GLTF_Index GLTF_AttributeInfo::dracoAttributeId

Definition at line 209 of file GLTF_Types.h.

GLTF_Index GLTF_AttributeInfo::meshId

Definition at line 198 of file GLTF_Types.h.

UT_StringHolder GLTF_AttributeInfo::name

Definition at line 197 of file GLTF_Types.h.

UT_Vector3F GLTF_AttributeInfo::positionMax

Definition at line 206 of file GLTF_Types.h.

UT_Vector3F GLTF_AttributeInfo::positionMin

Definition at line 205 of file GLTF_Types.h.

GLTF_Index GLTF_AttributeInfo::primitiveId

Definition at line 199 of file GLTF_Types.h.


The documentation for this struct was generated from the following file: