HDK
|
#include <GeometryHandler.h>
Public Member Functions | |
GeometryLoader () | |
virtual | ~GeometryLoader () |
const StringSet & | supportedExtensions () const |
virtual bool | load (const FilePath &filePath, MeshList &meshList, bool texcoordVerticalFlip=false)=0 |
Protected Attributes | |
StringSet | _extensions |
Base class representing a geometry loader. A loader can be associated with one or more file extensions.
Definition at line 27 of file GeometryHandler.h.
|
inline |
Definition at line 30 of file GeometryHandler.h.
|
inlinevirtual |
Definition at line 33 of file GeometryHandler.h.
|
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
Definition at line 37 of file GeometryHandler.h.
|
protected |
Definition at line 51 of file GeometryHandler.h.