| - Cal3D 0.11 API Reference - |
The loader class. More...
#include <loader.h>
Static Public Member Functions | |
| static CalCoreAnimationPtr | loadCoreAnimation (const std::string &strFilename, CalCoreSkeleton *skel=NULL) |
| Loads a core animation instance. More... | |
| static CalCoreMaterialPtr | loadCoreMaterial (const std::string &strFilename) |
| Loads a core material instance. More... | |
| static CalCoreMeshPtr | loadCoreMesh (const std::string &strFilename) |
| Loads a core mesh instance. More... | |
| static CalCoreSkeletonPtr | loadCoreSkeleton (const std::string &strFilename) |
| Loads a core skeleton instance. More... | |
| static CalCoreAnimationPtr | loadCoreAnimation (std::istream &inputStream, CalCoreSkeleton *skel=NULL) |
| Loads a core animation instance. More... | |
| static CalCoreMaterialPtr | loadCoreMaterial (std::istream &inputStream) |
| Loads a core material instance. More... | |
| static CalCoreMeshPtr | loadCoreMesh (std::istream &inputStream) |
| Loads a core mesh instance. More... | |
| static CalCoreSkeletonPtr | loadCoreSkeleton (std::istream &inputStream) |
| Loads a core skeleton instance. More... | |
| static CalCoreAnimationPtr | loadCoreAnimation (void *inputBuffer, CalCoreSkeleton *skel=NULL) |
| Loads a core animation instance. More... | |
| static CalCoreMaterialPtr | loadCoreMaterial (void *inputBuffer) |
| Loads a core material instance. More... | |
| static CalCoreMeshPtr | loadCoreMesh (void *inputBuffer) |
| Loads a core mesh instance. More... | |
| static CalCoreSkeletonPtr | loadCoreSkeleton (void *inputBuffer) |
| Loads a core skeleton instance. More... | |
| static CalCoreAnimationPtr | loadCoreAnimation (CalDataSource &inputSrc, CalCoreSkeleton *skel=NULL) |
| Loads a core animation instance. More... | |
| static CalCoreMaterialPtr | loadCoreMaterial (CalDataSource &inputSrc) |
| Loads a core material instance. More... | |
| static CalCoreMeshPtr | loadCoreMesh (CalDataSource &inputSrc) |
| Loads a core mesh instance. More... | |
| static CalCoreSkeletonPtr | loadCoreSkeleton (CalDataSource &inputSrc) |
| Loads a core skeleton instance. More... | |
| static void | setLoadingMode (int flags) |
| Sets optional flags which affect how the model is loaded into memory. More... | |
The loader class.
|
static |
Loads a core animation instance.
This function loads a core animation instance from a data source.
| dataSrc | The data source to load the core animation instance from. |
|
static |
Loads a core animation instance.
This function loads a core animation instance from a file.
| strFilename | The file to load the core animation instance from. |
|
static |
Loads a core animation instance.
This function loads a core animation instance from an input stream.
| inputStream | The stream to load the core animation instance from. This stream should be initialized and ready to be read from. |
|
static |
Loads a core animation instance.
This function loads a core animation instance from a memory buffer.
| inputBuffer | The memory buffer to load the core animation instance from. This buffer should be initialized and ready to be read from. |
|
static |
Loads a core material instance.
This function loads a core material instance from a data source.
| dataSrc | The data source to load the core material instance from. |
|
static |
Loads a core material instance.
This function loads a core material instance from a file.
| strFilename | The file to load the core material instance from. |
|
static |
Loads a core material instance.
This function loads a core material instance from an input stream.
| inputStream | The stream to load the core material instance from. This stream should be initialized and ready to be read from. |
|
static |
Loads a core material instance.
This function loads a core material instance from a memory buffer.
| inputBuffer | The memory buffer to load the core material instance from. This buffer should be initialized and ready to be read from. |
|
static |
Loads a core mesh instance.
This function loads a core mesh instance from a data source.
| dataSrc | The data source to load the core mesh instance from. |
|
static |
Loads a core mesh instance.
This function loads a core mesh instance from a file.
| strFilename | The file to load the core mesh instance from. |
|
static |
Loads a core mesh instance.
This function loads a core mesh instance from an input stream.
| inputStream | The stream to load the core mesh instance from. This stream should be initialized and ready to be read from. |
|
static |
Loads a core mesh instance.
This function loads a core mesh instance from a memory buffer.
| inputBuffer | The memory buffer to load the core mesh instance from. This buffer should be initialized and ready to be read from. |
|
static |
Loads a core skeleton instance.
This function loads a core skeleton instance from a data source.
| dataSrc | The data source to load the core skeleton instance from. |
|
static |
Loads a core skeleton instance.
This function loads a core skeleton instance from a file.
| strFilename | The file to load the core skeleton instance from. |
|
static |
Loads a core skeleton instance.
This function loads a core skeleton instance from an input stream.
| inputStream | The stream to load the core skeleton instance from. This stream should be initialized and ready to be read from. |
|
static |
Loads a core skeleton instance.
This function loads a core skeleton instance from a memory buffer.
| inputBuffer | The memory buffer to load the core skeleton instance from. This buffer should be initialized and ready to be read from. |
|
static |
Sets optional flags which affect how the model is loaded into memory.
This function sets the loading mode for all future loader calls.
| flags | A boolean OR of any of the following flags
|