Moai SDK
2.0
|
Function List | |
getGrabbedImage | |
grabNextFrame | |
isPendingGrab | |
|
Returns the image into which frame(s) will be (or were) grabbed (if any).
function getGrabbedImage ( MOAIFrameBuffer self [, boolean discard ] )
MOAIFrameBuffer | self |
boolean | discard Optional. If true, image will be discarded from the frame buffer. |
|
Save the next frame rendered to an image. If no image is provided, one will be created tp match the size of the frame buffer.
function grabNextFrame ( MOAIFrameBuffer self [, MOAIImage image, function callback ] )
MOAIFrameBuffer | self |
MOAIImage | image Optional. Image to save the backbuffer to |
function | callback Optional. The function to execute when the frame has been saved into the image specified |
|
True if a frame grab has been requested but not yet grabbed.
function isPendingGrab ( MOAIFrameBuffer self )
MOAIFrameBuffer | self |