Castor3D 0.16.0
Multiplatform 3D engine
|
Main resource loader class. More...
#include <Loader.hpp>
Public Member Functions | |
Loader ()=default | |
Constructor. | |
virtual | ~Loader () noexcept=default |
Destructor. | |
virtual bool | operator() (T &object, Type &file) |
Reads a resource from a file. | |
Protected Types | |
using | Type = typename FileTyper< FT >::Type |
Additional Inherited Members | |
Protected Member Functions inherited from castor::NonMovable | |
NonMovable ()=default | |
Constructor. | |
~NonMovable () noexcept=default | |
Destructor. | |
Main resource loader class.
|
protected |
|
default |
Constructor.
|
virtualdefaultnoexcept |
Destructor.
|
inlinevirtual |
Reads a resource from a file.
[in,out] | object | The object to read. |
[in,out] | file | The file where to read the object. |
References CU_LoaderError.