API Documentation
Static Public Member Functions | List of all members
nkAstraeus::nkGraphicsWrap::ViewportManagerWrapper Class Referencefinal

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)
 

Detailed Description

Wraps the nkGraphics::ViewportManager and offers functions for use in scripting.

Member Function Documentation

◆ updateEnvironment()

static void nkAstraeus::nkGraphicsWrap::ViewportManagerWrapper::updateEnvironment ( nkScripts::Environment env)
static

Updates a given environment and set it up to use all functions wrapped by this wrapper.

Parameters
envThe environment to set up.

◆ createOrRetrieve()

static nkScripts::OutputValue nkAstraeus::nkGraphicsWrap::ViewportManagerWrapper::createOrRetrieve ( const nkScripts::DataStack stack)
static

Wrapper function for nkGraphics::ViewportManager::createOrRetrieve().

Parameters
stackThe parameter stack.
Returns
The output value, as a nkGraphics::Viewport.

◆ erase()

static nkScripts::OutputValue nkAstraeus::nkGraphicsWrap::ViewportManagerWrapper::erase ( const nkScripts::DataStack stack)
static

Wrapper function for nkGraphics::ViewportManager::erase().

Parameters
stackThe parameter stack.
Returns
The output value, empty.

◆ rename()

static nkScripts::OutputValue nkAstraeus::nkGraphicsWrap::ViewportManagerWrapper::rename ( const nkScripts::DataStack stack)
static

Wrapper function for nkGraphics::ViewportManager::rename().

Parameters
stackThe parameter stack.
Returns
The output value, empty.

◆ getActiveViewport()

static nkScripts::OutputValue nkAstraeus::nkGraphicsWrap::ViewportManagerWrapper::getActiveViewport ( const nkScripts::DataStack stack)
static

Wrapper function for nkGraphics::ViewportManager::getActiveViewport().

Parameters
stackThe parameter stack.
Returns
The output value, as a nkGraphics::Viewport.

The documentation for this class was generated from the following file: