Lugre::cRenderTexture_L Class Reference

Inheritance diagram for Lugre::cRenderTexture_L:

Inheritance graph
[legend]
Collaboration diagram for Lugre::cRenderTexture_L:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void RegisterMethods (lua_State *L)
 called by Register(), registers object-methods (see cLuaBind constructor for examples)
virtual const char * GetLuaTypeName ()

Static Public Member Functions

static int Destroy (lua_State *L)
 void Destroy ()
static int SetAutoUpdated (lua_State *L)
 void cRenderTexture:SetAutoUpdated ()
static int SetPrePostFunctions (lua_State *L)
static int DisablePrePostFunctions (lua_State *L)
 lua : void cRenderTexture:DisablePrePostFunctions ()
static int EnablePrePostFunctions (lua_State *L)
 lua : void cRenderTexture:EnablePrePostFunctions ()
static int Update (lua_State *L)
 void cRenderTexture:Update ()
static int WriteContentsToFile (lua_State *L)
 void cRenderTexture:WriteContentsToFile (sFilePath)
static int CreateRenderTexture (lua_State *L)


Detailed Description

Definition at line 82 of file lugre_rendertexture_L.cpp.


Member Function Documentation

virtual void Lugre::cRenderTexture_L::RegisterMethods ( lua_State *  L  )  [inline, virtual]

called by Register(), registers object-methods (see cLuaBind constructor for examples)

Reimplemented from Lugre::cLuaBind< _T >.

Definition at line 84 of file lugre_rendertexture_L.cpp.

References CreateRenderTexture(), PROFILE, and REGISTER_METHOD.

static int Lugre::cRenderTexture_L::Destroy ( lua_State *  L  )  [inline, static]

void Destroy ()

Definition at line 101 of file lugre_rendertexture_L.cpp.

References PROFILE.

static int Lugre::cRenderTexture_L::SetAutoUpdated ( lua_State *  L  )  [inline, static]

void cRenderTexture:SetAutoUpdated ()

Definition at line 116 of file lugre_rendertexture_L.cpp.

References PROFILE.

static int Lugre::cRenderTexture_L::SetPrePostFunctions ( lua_State *  L  )  [inline, static]

lua : void cRenderTexture:SetPrePostFunctions (prerender_function, postrender_function) prerender_function and postrender_function gets called before and after rtt operation use this to hide the "mirror" and other stuff WARNING these two functions should be very very fast!!!!!!

Definition at line 127 of file lugre_rendertexture_L.cpp.

References PROFILE.

static int Lugre::cRenderTexture_L::DisablePrePostFunctions ( lua_State *  L  )  [inline, static]

lua : void cRenderTexture:DisablePrePostFunctions ()

Definition at line 136 of file lugre_rendertexture_L.cpp.

References PROFILE.

static int Lugre::cRenderTexture_L::EnablePrePostFunctions ( lua_State *  L  )  [inline, static]

lua : void cRenderTexture:EnablePrePostFunctions ()

Definition at line 142 of file lugre_rendertexture_L.cpp.

References PROFILE.

static int Lugre::cRenderTexture_L::Update ( lua_State *  L  )  [inline, static]

void cRenderTexture:Update ()

Definition at line 148 of file lugre_rendertexture_L.cpp.

References PROFILE.

static int Lugre::cRenderTexture_L::WriteContentsToFile ( lua_State *  L  )  [inline, static]

void cRenderTexture:WriteContentsToFile (sFilePath)

Definition at line 155 of file lugre_rendertexture_L.cpp.

References PROFILE.

static int Lugre::cRenderTexture_L::CreateRenderTexture ( lua_State *  L  )  [inline, static]

pixelformat : see l_OgrePixelFormatList in src/lugre_scripting.ogre.cpp udata_rtt CreateRenderTexture (sRttName,cx,cy,pixelformat=PF_BYTE_RGBA)

Definition at line 169 of file lugre_rendertexture_L.cpp.

References Lugre::cRenderTexture::cRenderTexture(), Lugre::cOgreWrapper::GetSingleton(), Lugre::cOgreWrapper::GetUniqueName(), and PROFILE.

Referenced by RegisterMethods().

virtual const char* Lugre::cRenderTexture_L::GetLuaTypeName (  )  [inline, virtual]

Implements Lugre::cLuaBind< _T >.

Definition at line 191 of file lugre_rendertexture_L.cpp.


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

Generated on Tue May 22 06:00:39 2012 for cpp by  doxygen 1.5.6