drawFrameBuffer method
void
drawFrameBuffer()
Draw another buffer onto this buffer (compositing).
The source rectangle (srcX, srcY, srcWidth, srcHeight) is copied to
(destX, destY) on this buffer. Both buffers must be valid (not yet
invalidated by their renderer).
Implementation
void drawFrameBuffer(
Buffer sourceBuffer,
int srcX,
int srcY,
int srcWidth,
int srcHeight,
int destX,
int destY,
) {
_checkValid();
sourceBuffer._checkValid();
_bindings.drawFrameBuffer(
_ptr,
destX,
destY,
sourceBuffer._ptr,
srcX,
srcY,
srcWidth,
srcHeight,
);
}