glViewportIndexed

set a specified viewport

Signature

glViewportIndexed( )->
glViewportIndexedf( GLuint ( index ) , GLfloat ( x ) , GLfloat ( y ) , GLfloat ( w ) , GLfloat ( h ) )-> void
glViewportIndexedf( index , x , y , w , h )
glViewportIndexedfv( GLuint ( index ) , const GLfloat *( v ) )-> void
glViewportIndexedfv( index , v )

Parameters

VariablesDescription
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.