Moai SDK
1.5 revision 1 (MoaiEdition)
|
Function List | |
grabNextFrame | |
getPerformanceDrawCount | |
getRenderTable | |
setRenderTable |
Returns the number of draw calls last frame.
function getPerformanceDrawCount ( MOAIFrameBuffer self )
self | ( MOAIFrameBuffer ) |
Returns the table currently being used for rendering.
function getRenderTable ( MOAIFrameBuffer self )
self | ( MOAIFrameBuffer ) |
Save the next frame rendered to.
function grabNextFrame ( MOAIFrameBuffer self, MOAIImage image, function callback )
self | ( MOAIFrameBuffer ) |
image | ( MOAIImage ) Image to save the backbuffer to |
callback | ( function ) The function to execute when the frame has been saved into the image specified |
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 ( MOAIFrameBuffer self, table renderTable )
self | ( MOAIFrameBuffer ) |
renderTable | ( table ) |