Simulant  21.12-574
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
smlt::Loader Class Referenceabstract
Inheritance diagram for smlt::Loader:
smlt::loaders::BaseTextureLoader smlt::loaders::DCMLoader smlt::loaders::FNTLoader smlt::loaders::HeightmapLoader smlt::loaders::MaterialScriptLoader smlt::loaders::MD2Loader smlt::loaders::MS3DLoader smlt::loaders::OBJLoader smlt::loaders::OGGLoader smlt::loaders::OPTLoader smlt::loaders::ParticleScriptLoader smlt::loaders::Q2BSPLoader smlt::loaders::TTFLoader smlt::loaders::WAVLoader

Public Types

typedef std::shared_ptr< Loaderptr

Public Member Functions

 Loader (const Path &filename, std::shared_ptr< std::istream > data)
void into (Loadable *resource, const LoaderOptions &options=LoaderOptions())
void into (std::shared_ptr< Loadable > resource, const LoaderOptions &options=LoaderOptions())
void into (Window &window, const LoaderOptions &options=LoaderOptions())
void set_vfs (VirtualFileSystem *locator)

Public Attributes

Property< VirtualFileSystem *Loader::* > vfs = { this, &Loader::locator_ }

Protected Member Functions

template<typename T >
T * loadable_to (Loadable &loadable)

Protected Attributes

Path filename_
std::shared_ptr< std::istream > data_

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