Wraps the nkGraphics::ShaderManager and offers functions for use in scripting.
More...
Wraps the nkGraphics::ShaderManager and offers functions for use in scripting.
◆ updateEnvironment()
static void nkAstraeus::nkGraphicsWrap::ShaderManagerWrapper::updateEnvironment |
( |
nkScripts::Environment * |
env | ) |
|
|
static |
Updates a given environment and set it up to use all functions wrapped by this wrapper.
- Parameters
-
env | The environment to set up. |
◆ createOrRetrieve()
Wrapper function for nkGraphics::ShaderManager::createOrRetrieveShader().
- Parameters
-
stack | The parameter stack. |
- Returns
- The output value, as a nkGraphics::Shader.
◆ get()
Wrapper function for nkGraphics::ShaderManager::getShader().
- Parameters
-
stack | The parameter stack. |
- Returns
- The output value, as a nkGraphics::Shader.
◆ rename()
Wrapper function for nkGraphics::ShaderManager::renameShader().
- Parameters
-
stack | The parameter stack. |
- Returns
- The output value, empty.
◆ erase()
Wrapper function for nkGraphics::ShaderManager::eraseShader().
- Parameters
-
stack | The parameter stack. |
- Returns
- The output value, empty.
The documentation for this class was generated from the following file: