Moai SDK
1.5 revision 1 (MoaiEdition)
|
Inherits MOAIGlobalClass< TYPE, SUPER >.
Function List | |
getPerformanceDrawCount | |
clearRenderStack | |
grabNextFrame | |
getRenderTable | |
popRenderPass | |
pushRenderPass | |
removeRenderPass | |
setRenderTable |
Sets the render stack to nil. THIS METHOD IS DEPRECATED AND WILL BE REMOVED IN A FUTURE RELEASE.
function clearRenderStack ()
Returns the number of draw calls last frame.
function getPerformanceDrawCount ()
Returns the table currently being used for rendering.
function getRenderTable ()
Pops the top renderable from the render stack. THIS METHOD IS DEPRECATED AND WILL BE REMOVED IN A FUTURE RELEASE.
function popRenderPass ()
Pushes a renderable onto the render stack. THIS METHOD IS DEPRECATED AND WILL BE REMOVED IN A FUTURE RELEASE.
function pushRenderPass ( MOAIRenderable renderable )
renderable | ( MOAIRenderable ) |
Removes a renderable from the render stack. THIS METHOD IS DEPRECATED AND WILL BE REMOVED IN A FUTURE RELEASE. Superseded by setRenderTable.
function removeRenderPass ( MOAIRenderable renderable )
renderable | ( MOAIRenderable ) |
Sets the table to be used for rendering. This should be an array indexed from 1 consisting of MOAIRenderable objects and sub-tables. Objects will be rendered in order starting from index 1 and continuing until 'nil' is encountered.
function setRenderTable ( table renderTable )
renderTable | ( table ) |