Signature
Parameters
Variables | Description |
---|---|
index |
Specify the first viewport to set.
|
x, y |
For
glViewportIndexedf
, specifies the lower left corner of
the viewport rectangle, in pixels. The initial value is (0,0).
|
width, height |
For
glViewportIndexedf
, specifies the width and height
of the viewport.
When a GL context is first attached to a window,
width
and
height
are set to the dimensions of that
window.
|
v |
For
glViewportIndexedfv
, specifies the address of an array containing the viewport parameters.
|