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

NameTypeDescription
copyMode[get, set] BackBufferCopy.CopyModeBuffer mode. See copymode constants.
rect[get, set] Rect2The area covered by the BackBufferCopy. Only used if copyMode is constant COPY_MODE_RECT.

Methods

NameDescription
getCopyMode
getRect
setCopyMode
setRect

Enums

NameDescription
Constants
CopyMode