cRobRenderable2D_L Class Reference

List of all members.

Public Member Functions

mixed Destroy (...)
mixed CastToRenderGroup2D (...)
mixed SetMaterial (...)
 for lua : void SetMaterial (sMatName)
mixed ClearTexTransform (...)
 for lua : void ClearTexTransform (iNewSize)
mixed SetTexTransform (...)

Static Public Member Functions

static mixed CreateRobRenderable2D (...)
static mixed RobRenderable2D_Open (...)
static mixed RobRenderable2D_Close (...)
static mixed RobRenderable2D_Vertex (...)
 void RobRenderable2D_Vertex (x,y,z,nx,ny,nz,u,v, r,g,b,a)
static mixed RobRenderable2D_Index (...)
static mixed RobRenderable2D_Index3 (...)
static mixed RobRenderable2D_Index2 (...)
static mixed RobRenderable2D_SkipVertices (...)
 void RobRenderable2D_SkipVertices ()
static mixed RobRenderable2D_SkipIndices (...)
 void RobRenderable2D_SkipIndices ()


Detailed Description

Definition at line 7361 of file lua_pseudo_code.cpp.


Member Function Documentation

static mixed cRobRenderable2D_L::CreateRobRenderable2D (   ...  )  [inline, static]

static methods exported to lua creates a new robrenderabl2d, that can be attached to a RenderGroup2D for lua : robrenderabl2d CreateRobRenderable2D (pParentGroup2d=nil)

Definition at line 7366 of file lua_pseudo_code.cpp.

static mixed cRobRenderable2D_L::RobRenderable2D_Open (   ...  )  [inline, static]

"opens" a robrenderabl2d for vertex operations, so it doesn't have to be typechecked every time, for better performance close with RobRenderable2D_Close after you are done with the changes for lua : void RobRenderable2D_Open (robrenderabl2d,iVertexCount,iIndexCount,bDynamic,bKeepOldIndices,opType) optype like OT_TRIANGLE_LIST

Definition at line 7372 of file lua_pseudo_code.cpp.

static mixed cRobRenderable2D_L::RobRenderable2D_Close (   ...  )  [inline, static]

affects last opened robrenderabl2d updates geometry for lua : void RobRenderable2D_Close ()

Definition at line 7377 of file lua_pseudo_code.cpp.

static mixed cRobRenderable2D_L::RobRenderable2D_Vertex (   ...  )  [inline, static]

void RobRenderable2D_Vertex (x,y,z,nx,ny,nz,u,v, r,g,b,a)

Definition at line 7380 of file lua_pseudo_code.cpp.

static mixed cRobRenderable2D_L::RobRenderable2D_Index (   ...  )  [inline, static]

must be called between RenderableBegin and RenderableEnd void RobRenderable2D_Index (iIndex)

Definition at line 7384 of file lua_pseudo_code.cpp.

static mixed cRobRenderable2D_L::RobRenderable2D_Index3 (   ...  )  [inline, static]

must be called between RenderableBegin and RenderableEnd, useful for triangles void RobRenderable2D_Index3 (iIndex,iIndex,iIndex)

Definition at line 7388 of file lua_pseudo_code.cpp.

static mixed cRobRenderable2D_L::RobRenderable2D_Index2 (   ...  )  [inline, static]

must be called between RenderableBegin and RenderableEnd, useful for lines void RobRenderable2D_Index2 (iIndex,iIndex)

Definition at line 7392 of file lua_pseudo_code.cpp.

static mixed cRobRenderable2D_L::RobRenderable2D_SkipVertices (   ...  )  [inline, static]

void RobRenderable2D_SkipVertices ()

Definition at line 7395 of file lua_pseudo_code.cpp.

static mixed cRobRenderable2D_L::RobRenderable2D_SkipIndices (   ...  )  [inline, static]

void RobRenderable2D_SkipIndices ()

Definition at line 7398 of file lua_pseudo_code.cpp.

mixed cRobRenderable2D_L::Destroy (   ...  )  [inline]

object methods exported to lua also closes any open robrenderabl2d, as it would be difficult/performance-costly to detect indirect deletion of a child for lua : void Destroy ()

Definition at line 7403 of file lua_pseudo_code.cpp.

mixed cRobRenderable2D_L::CastToRenderGroup2D (   ...  )  [inline]

robrenderabl2d is derived from rendergroup2d in c++, but the luabind code doesn't transport this relationship to lua, so use this to explicitly cast cache result if possible for better performance for lua : renderGroup2D CastToRenderGroup2D ()

Definition at line 7408 of file lua_pseudo_code.cpp.

mixed cRobRenderable2D_L::SetMaterial (   ...  )  [inline]

for lua : void SetMaterial (sMatName)

Definition at line 7411 of file lua_pseudo_code.cpp.

mixed cRobRenderable2D_L::ClearTexTransform (   ...  )  [inline]

for lua : void ClearTexTransform (iNewSize)

Definition at line 7414 of file lua_pseudo_code.cpp.

mixed cRobRenderable2D_L::SetTexTransform (   ...  )  [inline]

for lua : void SetTexTransform (x,y,sx,sy,angle) for lua : void SetTexTransform (row0_col0,row0_col1,row0_col2,...) -- 16 floats, 4x4 matrix

Definition at line 7418 of file lua_pseudo_code.cpp.


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

Generated on Fri Mar 29 05:41:09 2013 for lua by  doxygen 1.5.6