#include <ShaderManager.h>
|
static void | Load (MapKey k, const char *path) |
| Loads a shader from path and associates it with Key k.
|
|
static ShaderObject * | Get (MapKey k) |
| Gets the ShaderObject associated with the given MapKey.
|
|
◆ MapKey
◆ StorageMap
◆ ShaderManager() [1/2]
ShaderManager::ShaderManager |
( |
| ) |
|
|
private |
◆ ShaderManager() [2/2]
◆ ~ShaderManager()
ShaderManager::~ShaderManager |
( |
| ) |
|
|
private |
◆ Free()
void ShaderManager::Free |
( |
| ) |
|
|
staticprivate |
◆ Get()
ShaderObject * ShaderManager::Get |
( |
MapKey |
k | ) |
|
|
static |
Gets the ShaderObject associated with the given MapKey.
Haru, 3/8/2023.
- Parameters
-
- Returns
- A pointer to the ShaderObject.
◆ Instance()
◆ Load()
void ShaderManager::Load |
( |
MapKey |
k, |
|
|
const char * |
path |
|
) |
| |
|
static |
Loads a shader from path and associates it with Key k.
Haru, 3/8/2023.
- Parameters
-
k | A MapKey (string) to associate the shader with. |
path | Pathname of the file. |
◆ operator=()
◆ privLoad()
void ShaderManager::privLoad |
( |
MapKey |
k, |
|
|
const char * |
path |
|
) |
| |
|
private |
◆ ShaderManagerAttorney
◆ colorConstantKey
◆ p_instance
◆ shaders
◆ spriteKey
The documentation for this class was generated from the following files: