Voltray Engine Docs
Loading...
Searching...
No Matches
Engine::Loader::AssimpLoader Class Reference

Loader using Assimp library for multiple formats Supports: FBX, GLTF, GLB, 3DS, DAE, PLY, STL, X3D, OBJ, and many more. More...

#include <IFormatLoader.h>

Inheritance diagram for Engine::Loader::AssimpLoader:
Collaboration diagram for Engine::Loader::AssimpLoader:

Public Member Functions

bool CanLoad (const std::string &extension) const override
 Check if this loader can handle the given file extension.
 
std::vector< MeshDataLoadMeshData (const std::string &filepath) override
 Load mesh data from file.
 
std::string GetLoaderName () const override
 Get the name of this loader.
 
- Public Member Functions inherited from Engine::Loader::IFormatLoader
virtual ~IFormatLoader ()=default
 

Detailed Description

Loader using Assimp library for multiple formats Supports: FBX, GLTF, GLB, 3DS, DAE, PLY, STL, X3D, OBJ, and many more.

Member Function Documentation

◆ CanLoad()

bool AssimpLoader::CanLoad ( const std::string &  extension) const
overridevirtual

Check if this loader can handle the given file extension.

Parameters
extensionFile extension (e.g., ".obj", ".fbx")
Returns
True if format is supported

Implements Engine::Loader::IFormatLoader.

◆ GetLoaderName()

std::string Engine::Loader::AssimpLoader::GetLoaderName ( ) const
inlineoverridevirtual

Get the name of this loader.

Returns
Loader name for debugging

Implements Engine::Loader::IFormatLoader.

◆ LoadMeshData()

std::vector< MeshData > AssimpLoader::LoadMeshData ( const std::string &  filepath)
overridevirtual

Load mesh data from file.

Parameters
filepathPath to the mesh file
Returns
Vector of MeshData structures

Implements Engine::Loader::IFormatLoader.


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