Wraps a nkGraphics::Texture and offers functions for use in scripting. More...
Static Public Member Functions | |
static void | updateEnvironment (nkScripts::Environment *env) |
static nkScripts::OutputValue | load (const nkScripts::DataStack &stack) |
static nkScripts::OutputValue | unload (const nkScripts::DataStack &stack) |
static nkScripts::OutputValue | convertToImage (const nkScripts::DataStack &stack) |
Wraps a nkGraphics::Texture 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::Texture::load().
stack | The parameter stack. |
|
static |
Wrapper function for nkGraphics::Texture::unload().
stack | The parameter stack. |
|
static |
Wrapper function for nkGraphics::Texture::convertToImage().
stack | The parameter stack. |