|
Level H Engine
|
Contains static variables and functions for use with resource manager. More...
#include <ResourceManager.h>

Static Public Member Functions | |
| static void | deleteResources () |
| A static function to delete all the resources. More... | |
| static void | deleteAllMeshes () |
| A static function to delete all the meshes. More... | |
| static void | deleteAllShaders () |
| A static function to delete all the shaders. More... | |
| static void | deleteAllAudio () |
| A static function to delete all the audio. More... | |
| static void | deleteAllMusic () |
| A static function to delete all the music. More... | |
| static void | deleteAllSprites () |
| A static function to delete all the sprites. More... | |
| static void | deleteMesh (std::string id) |
| A static function to delete the mesh. More... | |
| static void | deleteShader (std::string id) |
| A static function to delete the shader. More... | |
| static void | deleteMusic (std::string id) |
| A static function to delete the music. More... | |
| static void | deleteAudio (std::string id) |
| A static function to delete the audio. More... | |
| static void | deleteSprite (std::string id) |
| A static function to delete the sprite. More... | |
| static void | stopMusic (std::string id) |
| A static function to stop the music. More... | |
| static void | stopAllMusic () |
| A static function to stop all music. More... | |
| static std::string | initialiseHeightmap (std::string heightmapFileName) |
| A static function to initialise a heightmap. More... | |
| static std::string | initialiseHeightmap (std::string heightmapFileName, std::string textureFileName) |
| A static function to initialise a heightmap. More... | |
| static std::string | initialisePrimitive (Primitives::PrimativeType primType) |
| A static function to initialise a primative. More... | |
| static std::string | initialiseMesh (std::string objFileName) |
| A static function to initialise a mesh without a texture. More... | |
| static std::string | initialiseMesh (std::string objFileName, std::string textureFileName) |
| A static function to initialise a mesh. More... | |
| static std::string | initialiseShader (std::string vertexShaderFileName, std::string fragmentShaderFileName) |
| A static function to initialise a shader. More... | |
| static std::string | initialiseAudio (std::string audioFileName) |
| A static function to initialise an audio file. More... | |
| static std::string | initialiseMusic (std::string musicFileName) |
| A static function to initialise a music file. More... | |
| static std::string | initialiseSprite (std::string spriteFileName) |
| A static function to initialise a sprite. More... | |
| static Mesh * | getMesh (std::string id) |
| A static function to get a mesh. More... | |
| static Shader * | getShaders (std::string id) |
| A static function to get an shaders. More... | |
| static Audio * | getAudio (std::string id) |
| A static function to get an audio. More... | |
| static Music * | getMusic (std::string id) |
| A static function to get an music. More... | |
| static Sprite * | getSprite (std::string id) |
| A static function to get a sprite. More... | |
Static Private Attributes | |
| static std::unordered_map< std::string, Mesh * > | meshes |
| The loaded Mesh files. More... | |
| static std::unordered_map< std::string, Shader * > | shaders |
| The loaded Shader files. More... | |
| static std::unordered_map< std::string, Audio * > | audio |
| The loaded Audio files. More... | |
| static std::unordered_map< std::string, Music * > | music |
| The loaded Music files. More... | |
| static std::unordered_map< std::string, Sprite * > | sprites |
| The loaded Sprite files. More... | |
Contains static variables and functions for use with resource manager.
|
static |
A static function to delete all the audio.

|
static |
A static function to delete all the meshes.

|
static |
A static function to delete all the music.

|
static |
A static function to delete all the shaders.

|
static |
A static function to delete all the sprites.

|
inlinestatic |
A static function to delete the audio.
| id | The ID of the file. |
|
inlinestatic |
A static function to delete the mesh.
| id | The ID of the file. |
|
inlinestatic |
A static function to delete the music.
| id | The ID of the file. |
|
static |
A static function to delete all the resources.

|
inlinestatic |
A static function to delete the shader.
| id | The ID of the file. |
|
inlinestatic |
A static function to delete the sprite.
| id | The ID of the file. |

|
inlinestatic |
A static function to get an audio.
| id | The ID of the file. |

|
inlinestatic |
A static function to get a mesh.
| id | The ID of the file. |

|
inlinestatic |
A static function to get an music.
| id | The ID of the file. |

|
inlinestatic |
A static function to get an shaders.
| id | The ID of the file. |

|
inlinestatic |
A static function to get a sprite.
| id | The ID of the file. |

|
static |
A static function to initialise an audio file.
| audioFileName | The name of the audio file. |


|
static |
A static function to initialise a heightmap.
| heightmapFileName | The name of the heightmap file. |


|
static |
A static function to initialise a heightmap.
| heightmapFileName | The name of the heightmap file. |
| textureFileName | The name of the heightmap texture file. |

|
static |
A static function to initialise a mesh without a texture.
| objFileName | The name of the obj file. |


|
static |
A static function to initialise a mesh.
| objFileName | The name of the obj file. |
| materialFileName | The name of the texture |

|
static |
A static function to initialise a music file.
| musicFileName | The name of the music file. |


|
static |
A static function to initialise a primative.
| primType | The primitive type to use. |


|
static |
A static function to initialise a shader.
| vertexShaderFileName | The name of the vertex shader file. |
| fragmentShaderFileName | The name of the fragment shader file. |


|
static |
A static function to initialise a sprite.
| spriteFileName | The name of the sprite. |


|
static |
A static function to stop all music.

|
static |
A static function to stop the music.
| id | The ID of the file. |

|
staticprivate |
The loaded Audio files.
|
staticprivate |
The loaded Mesh files.
|
staticprivate |
The loaded Music files.
|
staticprivate |
The loaded Shader files.
|
staticprivate |
The loaded Sprite files.
1.8.13