Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1010 Bytes

assimp.md

File metadata and controls

38 lines (24 loc) · 1010 Bytes

Functions to load models and animations using the AssImp library.

Members

is_supported_file_format

bool is_supported_file_format(const char * file) noexcept;

Returns whether file is a format that can be loaded by AssImp.

load_animated_model

std::unique_ptr<animated_model> load_animated_model(const char * file) noexcept;

Attemps to load a model from file.

load_animation_file

std::unique_ptr<animation_file> load_animation_file(const char * file) noexcept;

Attempts to load animations from file.

load_model_data

assimp_model_data load_model_data(const char * file) noexcept;
std::unique_ptr<animated_model> load_animated_model(assimp_model_data && model_data) noexcept;

Returns the intermediate data used when loading a model. load_model_data doesn't perform any OpenGL calls and can therefore be called from a loading thread, before later passing the data to load_animated_model on the main thread.