6#ifndef MATERIALX_CGLTFLOADER_H
7#define MATERIALX_CGLTFLOADER_H
14MATERIALX_NAMESPACE_BEGIN
27 _extensions = {
"glb",
"GLB",
"gltf",
"GLTF" };
35 bool load(
const FilePath& filePath,
MeshList& meshList,
bool texcoordVerticalFlip =
false)
override;
38 unsigned int _debugLevel;
41MATERIALX_NAMESPACE_END
std::shared_ptr< class CgltfLoader > CgltfLoaderPtr
Shared pointer to a GLTFLoader.
Definition: CgltfLoader.h:17
Geometry loader interfaces.
vector< MeshPtr > MeshList
List of meshes.
Definition: Mesh.h:233
Wrapper for loader to read in GLTF files using the Cgltf library.
Definition: CgltfLoader.h:22
static CgltfLoaderPtr create()
Create a new loader.
Definition: CgltfLoader.h:32
A generic file path, supporting both syntactic and file system operations.
Definition: File.h:27
Base class representing a geometry loader.
Definition: GeometryHandler.h:28
virtual bool load(const FilePath &filePath, MeshList &meshList, bool texcoordVerticalFlip=false)=0
Load geometry from disk.