Skip to content

API Reference / @gtkx/gl / viewportIndexedf

Function: viewportIndexedf() ​

viewportIndexedf(index, x, y, w, h): void

Defined in: packages/gl/src/generated/commands.ts:9785

void glViewportIndexedf(GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h)

Provided by GL_VERSION_4_1. Registry note: Reuse commands from ARB_viewport_array Also provided by the GL_ARB_viewport_array extension. Also known as glViewportIndexedfNV, glViewportIndexedfOES.

Parameters ​

index ​

number

GLuint

x ​

number

GLfloat

y ​

number

GLfloat

w ​

number

GLfloat

h ​

number

GLfloat

Returns ​

void