MaterialX 1.38.9
Loading...
Searching...
No Matches
CgltfLoader Class Reference

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

#include <CgltfLoader.h>

Inheritance diagram for CgltfLoader:
GeometryLoader

Public Member Functions

bool load (const FilePath &filePath, MeshList &meshList, bool texcoordVerticalFlip=false) override
 Load geometry from file path. More...
 
- Public Member Functions inherited from GeometryLoader
const StringSetsupportedExtensions () const
 Returns a list of supported extensions. More...
 
virtual bool load (const FilePath &filePath, MeshList &meshList, bool texcoordVerticalFlip=false)=0
 Load geometry from disk. More...
 

Static Public Member Functions

static CgltfLoaderPtr create ()
 Create a new loader.
 

Additional Inherited Members

- Protected Attributes inherited from GeometryLoader
StringSet _extensions
 

Detailed Description

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

Member Function Documentation

◆ load()

bool 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 files: