MaterialX 1.39.1
|
Base class representing a geometry loader. More...
#include <GeometryHandler.h>
Public Member Functions | |
const StringSet & | supportedExtensions () 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... | |
Protected Attributes | |
StringSet | _extensions |
Base class representing a geometry loader.
A loader can be associated with one or more file extensions.
|
pure virtual |
Load geometry from disk.
Must be implemented by derived classes.
filePath | Path to file to load |
meshList | List of meshes to update |
texcoordVerticalFlip | Flip texture coordinates in V when loading |
Implemented in CgltfLoader, and TinyObjLoader.
|
inline |
Returns a list of supported extensions.