Skip to content

API Reference / @gtkx/gl / viewportIndexedf

Function: viewportIndexedf()

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

Defined in: generated/commands.d.ts:7793

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

Released under the MPL-2.0 License.