Specify the bounds of the source rectangle within the read buffer of the read framebuffer.
dstX0, dstY0, dstX1, dstY1
Specify the bounds of the destination rectangle within the write buffer of the write framebuffer.
mask
The bitwise OR of the flags indicating which buffers are to be copied. The allowed flags are
GL_COLOR_BUFFER_BIT
,
GL_DEPTH_BUFFER_BIT
and
GL_STENCIL_BUFFER_BIT
.
filter
Specifies the interpolation to be applied if the image is stretched. Must be
GL_NEAREST
or
GL_LINEAR
.