API Documentation
MeshWrapper.h
1 // MeshWrapper.h
3 //
5 
7 {
11  class MeshWrapper final
12  {
13  public :
14 
15  // Environment update
22 
23  // Callbacks
24  // Composition
47  // Loading
81  // Vertices
114  static void setVertexCount (const nkScripts::DataStack& stack) ;
126  // Indices
159  static void setIndexCount (const nkScripts::DataStack& stack) ;
170  static nkScripts::OutputValue getIndexCount (void* data) ;
171  // Utilities
182  static void setHidden (const nkScripts::DataStack& stack) ;
193  static nkScripts::OutputValue getHidden (void* data) ;
204  static nkScripts::OutputValue getLoadState (void* data) ;
205  } ;
206 }
nkAstraeus::nkGraphicsWrap::MeshWrapper::getVertexCount
static nkScripts::OutputValue getVertexCount(void *data)
nkAstraeus::nkGraphicsWrap::MeshWrapper::updateEnvironment
static void updateEnvironment(nkScripts::Environment *env)
nkAstraeus::nkGraphicsWrap::MeshWrapper
Wraps a nkGraphics::Mesh and offers functions for use in scripting.
Definition: MeshWrapper.h:12
nkScripts::Environment
Defines an environment in which scripts can execute.
Definition: Environment.h:14
nkAstraeus::nkGraphicsWrap::MeshWrapper::fillPackedFromUnpacked
static nkScripts::OutputValue fillPackedFromUnpacked(const nkScripts::DataStack &stack)
nkMemory::BufferView
A view over data.
Definition: BufferView.h:18
nkAstraeus::nkGraphicsWrap::MeshWrapper::getNewVertexArray
static nkScripts::OutputValue getNewVertexArray(const nkScripts::DataStack &stack)
nkAstraeus::nkGraphicsWrap::MeshWrapper::getCurrentVertexComposition
static nkScripts::OutputValue getCurrentVertexComposition(void *data)
nkScripts::FunctionParameter
A function parameter, used within the stack of arguments.
Definition: FunctionParameter.h:25
nkAstraeus::nkGraphicsWrap::MeshWrapper::setHidden
static void setHidden(const nkScripts::DataStack &stack)
nkAstraeus::nkGraphicsWrap::MeshWrapper::setVertexCount
static void setVertexCount(const nkScripts::DataStack &stack)
nkAstraeus::nkGraphicsWrap::MeshWrapper::getLoadState
static nkScripts::OutputValue getLoadState(void *data)
nkAstraeus::nkGraphicsWrap
Encompasses the wrapping of nkGraphics for scripting.
Definition: BoundingBoxWrapper.h:7
nkAstraeus::nkGraphicsWrap::MeshWrapper::getCurrentIndexArray
static nkScripts::OutputValue getCurrentIndexArray(const nkScripts::DataStack &stack)
nkAstraeus::nkGraphicsWrap::MeshWrapper::setCurrentVertexComposition
static void setCurrentVertexComposition(const nkScripts::DataStack &stack)
nkAstraeus::nkGraphicsWrap::MeshWrapper::load
static nkScripts::OutputValue load(const nkScripts::DataStack &stack)
nkAstraeus::nkGraphicsWrap::MeshWrapper::getCurrentVertexArray
static nkScripts::OutputValue getCurrentVertexArray(const nkScripts::DataStack &stack)
nkAstraeus::nkGraphicsWrap::MeshWrapper::setIndexCount
static void setIndexCount(const nkScripts::DataStack &stack)
nkAstraeus::nkGraphicsWrap::MeshWrapper::getHidden
static nkScripts::OutputValue getHidden(void *data)
nkAstraeus::nkGraphicsWrap::MeshWrapper::getNewIndexArray
static nkScripts::OutputValue getNewIndexArray(const nkScripts::DataStack &stack)
nkAstraeus::nkGraphicsWrap::MeshWrapper::unload
static nkScripts::OutputValue unload(const nkScripts::DataStack &stack)
nkAstraeus::nkGraphicsWrap::MeshWrapper::getIndexCount
static nkScripts::OutputValue getIndexCount(void *data)