HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GLTF_CgltfWrapper.h File Reference
#include <cgltf_write.h>
#include "GLTFZ_API.h"
#include "GLTF_Types.h"
#include <UT/UT_Assert.h>
#include <UT/UT_JSONParser.h>
#include <UT/UT_Options.h>
#include <UT/UT_UniquePtr.h>
#include <stdlib.h>
#include <string.h>
+ Include dependency graph for GLTF_CgltfWrapper.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GLTF_CgltfWrapper
 
struct  GLTF_CgltfWrapper::CgltfDataDeleter
 

Macros

#define GLTF_DEFINE_APPEND_FUNC(func_name, cgltf_type, container, count_member)
 

Functions

template<typename T >
GLTF_Index CGLTF_PTR_TO_INDEX (T *ptr)
 
template<typename T >
T * INDEX_TO_CGLTF_PTR (GLTF_Index id)
 

Variables

constexpr const char * cgltf_GltfVersion = "2.0"
 
constexpr const char * cgltf_GltfGenerator = "SideFX Houdini"
 

Macro Definition Documentation

#define GLTF_DEFINE_APPEND_FUNC (   func_name,
  cgltf_type,
  container,
  count_member 
)
Value:
cgltf_type& func_name() \
{ \
cgltf_type& new_elem = appendProperty(&container, count_member); \
initProperty(&new_elem); \
return new_elem; \
}
cgltf_type
Definition: cgltf.h:190

Definition at line 24 of file GLTF_CgltfWrapper.h.

Function Documentation

template<typename T >
GLTF_Index CGLTF_PTR_TO_INDEX ( T *  ptr)

Definition at line 35 of file GLTF_CgltfWrapper.h.

template<typename T >
T* INDEX_TO_CGLTF_PTR ( GLTF_Index  id)

Definition at line 42 of file GLTF_CgltfWrapper.h.

Variable Documentation

constexpr const char* cgltf_GltfGenerator = "SideFX Houdini"
inline

Definition at line 22 of file GLTF_CgltfWrapper.h.

constexpr const char* cgltf_GltfVersion = "2.0"
inline

Definition at line 21 of file GLTF_CgltfWrapper.h.