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

#include <CgltfLoader.h>

+ Inheritance diagram for CgltfLoader:

Public Member Functions

 CgltfLoader ()
 
virtual ~CgltfLoader ()
 
bool load (const FilePath &filePath, MeshList &meshList, bool texcoordVerticalFlip=false) override
 Load geometry from file path. More...
 
- Public Member Functions inherited from GeometryLoader
 GeometryLoader ()
 
virtual ~GeometryLoader ()
 
const StringSetsupportedExtensions () const
 

Static Public Member Functions

static CgltfLoaderPtr create ()
 Create a new loader. More...
 

Additional Inherited Members

- Protected Attributes inherited from GeometryLoader
StringSet _extensions
 

Detailed Description

Wrapper for loader to read in GLTF files using the Cgltf library.

Definition at line 21 of file CgltfLoader.h.

Constructor & Destructor Documentation

CgltfLoader::CgltfLoader ( )
inline

Definition at line 24 of file CgltfLoader.h.

virtual CgltfLoader::~CgltfLoader ( )
inlinevirtual

Definition at line 29 of file CgltfLoader.h.

Member Function Documentation

static CgltfLoaderPtr CgltfLoader::create ( )
inlinestatic

Create a new loader.

Definition at line 32 of file CgltfLoader.h.

bool CgltfLoader::load ( const FilePath filePath,
MeshList meshList,
bool  texcoordVerticalFlip = false 
)
overridevirtual

Load geometry from file path.

Implements GeometryLoader.


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