Wraps the nkGraphics::ViewportManager and offers functions for use in scripting. More...
Static Public Member Functions | |
static void | updateEnvironment (nkScripts::Environment *env) |
static nkScripts::OutputValue | createOrRetrieve (const nkScripts::DataStack &stack) |
static nkScripts::OutputValue | erase (const nkScripts::DataStack &stack) |
static nkScripts::OutputValue | rename (const nkScripts::DataStack &stack) |
static nkScripts::OutputValue | getActiveViewport (const nkScripts::DataStack &stack) |
Wraps the nkGraphics::ViewportManager and offers functions for use in scripting.
|
static |
Updates a given environment and set it up to use all functions wrapped by this wrapper.
env | The environment to set up. |
|
static |
Wrapper function for nkGraphics::ViewportManager::createOrRetrieve().
stack | The parameter stack. |
|
static |
Wrapper function for nkGraphics::ViewportManager::erase().
stack | The parameter stack. |
|
static |
Wrapper function for nkGraphics::ViewportManager::rename().
stack | The parameter stack. |
|
static |
Wrapper function for nkGraphics::ViewportManager::getActiveViewport().
stack | The parameter stack. |