Signature
Parameters
Variables | Description |
---|---|
x, y |
Specify the window coordinates of the lower left corner
of the rectangular region of pixels to be copied.
|
width, height |
Specify the dimensions of the rectangular region of pixels to be copied.
Both must be nonnegative.
|
type |
Specifies whether color values,
depth values,
or stencil values are to be copied.
Symbolic constants
GL_COLOR
,
GL_DEPTH
,
and
GL_STENCIL
are accepted.
|