Wraps the nkGraphics::ProgramManager and offers functions for use in scripting.
More...
Wraps the nkGraphics::ProgramManager and offers functions for use in scripting.
◆ updateEnvironment()
static void nkAstraeus::nkGraphicsWrap::ProgramManagerWrapper::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::createOrRetrieveProgram().
- Parameters
-
stack | The parameter stack. |
- Returns
- The output value, as a nkGraphics::Program.
◆ get()
Wrapper function for nkGraphics::ShaderManager::getProgram().
- Parameters
-
stack | The parameter stack. |
- Returns
- The output value, as a nkGraphics::Program.
◆ rename()
Wrapper function for nkGraphics::ShaderManager::renameProgram().
- Parameters
-
stack | The parameter stack. |
- Returns
- The output value, empty.
◆ erase()
Wrapper function for nkGraphics::ShaderManager::eraseProgram().
- Parameters
-
stack | The parameter stack. |
- Returns
- The output value, empty.
The documentation for this class was generated from the following file: