Struct BackBufferCopy
Copies a region of the screen (or the whole screen) to a buffer so it can be accessed in your shader scripts through the texture(SCREEN_TEXTURE, ...)
function.
struct BackBufferCopy
;
Node for back-buffering the currently-displayed screen. The region defined in the BackBufferCopy node is bufferized with the content of the screen it covers, or the entire screen according to the copy mode set. Use the texture(SCREEN_TEXTURE, ...)
function in your shader scripts to access the buffer.
Properties
Name | Type | Description |
---|---|---|
copyMode [get, set]
|
BackBufferCopy | Buffer mode. See copymode constants.
|
rect [get, set]
|
Rect2 | The area covered by the BackBufferCopy. Only used if copyMode is constant COPY_MODE_RECT .
|
Methods
Name | Description |
---|---|
getCopyMode
|
|
getRect
|
|
setCopyMode
|
|
setRect
|
Enums
Name | Description |
---|---|
Constants
|
|
CopyMode
|