HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GLTF_IO Class Reference

#include <GLTF_IO.h>

Public Types

enum  Mode : int { Mode::Invalid, Mode::Read, Mode::Write }
 

Public Member Functions

 GLTF_IO (GLTF_IO::Mode mode)
 
 ~GLTF_IO ()
 
bool open (const char *path, GLTF_ErrorManager &errors)
 
void close ()
 
bool isOpen () const
 
bool read (GLTF_ErrorManager &errors)
 
bool write (GLTF_ErrorManager &errors)
 
UT_StringHolder getFilename () const
 
UT_StringHolder getFileExtension () const
 
cgltf_datagetCgltfData ()
 
const cgltf_datagetCgltfData () const
 
cgltf_optionsgetCgltfOptions ()
 
const cgltf_optionsgetCgltfOptions () const
 
GLTF_CgltfWrappergetCgltfWrapper ()
 

Detailed Description

Definition at line 11 of file GLTF_IO.h.

Member Enumeration Documentation

enum GLTF_IO::Mode : int
strong
Enumerator
Invalid 
Read 
Write 

Definition at line 14 of file GLTF_IO.h.

Constructor & Destructor Documentation

GLTF_IO::GLTF_IO ( GLTF_IO::Mode  mode)
explicit
GLTF_IO::~GLTF_IO ( )
inline

Definition at line 22 of file GLTF_IO.h.

Member Function Documentation

void GLTF_IO::close ( )
cgltf_data* GLTF_IO::getCgltfData ( )
inline

Definition at line 35 of file GLTF_IO.h.

const cgltf_data* GLTF_IO::getCgltfData ( ) const
inline

Definition at line 42 of file GLTF_IO.h.

cgltf_options* GLTF_IO::getCgltfOptions ( )
inline

Definition at line 50 of file GLTF_IO.h.

const cgltf_options* GLTF_IO::getCgltfOptions ( ) const
inline

Definition at line 57 of file GLTF_IO.h.

GLTF_CgltfWrapper* GLTF_IO::getCgltfWrapper ( )
inline

Definition at line 65 of file GLTF_IO.h.

UT_StringHolder GLTF_IO::getFileExtension ( ) const
UT_StringHolder GLTF_IO::getFilename ( ) const
bool GLTF_IO::isOpen ( ) const
inline

Definition at line 27 of file GLTF_IO.h.

bool GLTF_IO::open ( const char *  path,
GLTF_ErrorManager errors 
)
bool GLTF_IO::read ( GLTF_ErrorManager errors)
bool GLTF_IO::write ( GLTF_ErrorManager errors)

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