|
| static void | LoadModel (const MapKey &key, const std::string &path) |
| | Load Model with KEY and FILE PATH.
|
| |
| static void | LoadModel (const MapKey &key, int planeSize, int u, int v) |
| | Load Model with KEY, PLANESIZE, U, AND V.
|
| |
| static Model * | GetModel (const MapKey &key) |
| | Load Shader with KEY and AZUL's PREMADEMODELS.
|
| |
| static Model * | GetModel (DefaultModels key) |
| | Returns model pointer from DEFAULTMODELS.
|
| |
Singleton responisble for loading and retrieving models.
| static Model * ModelManager::GetModel |
( |
const MapKey & | key | ) |
|
|
static |
Load Shader with KEY and AZUL's PREMADEMODELS.
A function callable in SlippersResources/LoadResources that takes in a String as a key for retrieval, as well as an AZUL premade model. Checks for repeated key use.
- Parameters
-
Returns model pointer with given KEY
A function that returns a model pointer based on a user generated key. Checks if key already exists.
- Parameters
-
- Returns
- Model*
| static void ModelManager::LoadModel |
( |
const MapKey & | key, |
|
|
int | planeSize, |
|
|
int | u, |
|
|
int | v ) |
|
static |
Load Model with KEY, PLANESIZE, U, AND V.
A function callable in SlippersResources/LoadResources that takes in a String as a key for retrieval. Uses plane size to get total width and length of the plane, and u and v for how often to repeat tiles. Checks for repeated key use.
- Parameters
-