MaterialX 1.38.2
Public Member Functions | Static Public Member Functions | List of all members
TinyObjLoader Class Reference

Wrapper for geometry loader to read in OBJ files using the TinyObj library. More...

#include <TinyObjLoader.h>

Inheritance diagram for TinyObjLoader:
GeometryLoader

Public Member Functions

bool load (const FilePath &filePath, MeshList &meshList) override
 Load geometry from disk. 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)=0
 Load geometry from disk. More...
 

Static Public Member Functions

static TinyObjLoaderPtr create ()
 Create a new TinyObjLoader.
 

Additional Inherited Members

- Protected Attributes inherited from GeometryLoader
StringSet _extensions
 

Detailed Description

Wrapper for geometry loader to read in OBJ files using the TinyObj library.

Member Function Documentation

◆ load()

bool load ( const FilePath filePath,
MeshList meshList 
)
overridevirtual

Load geometry from disk.

Implements GeometryLoader.


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