Skip to content

API Reference / @gtkx/gl / uniform2iv

Function: uniform2iv()

uniform2iv(location, count, value): void

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

void glUniform2iv(GLint location, GLsizei count, const GLint *value)

Provided by GL_VERSION_2_0. Also known as glUniform2ivARB.

Parameters

location

number

GLint

count

number

GLsizei

value

number[] | Int32Array<ArrayBufferLike>

GLint[] | Int32Array, length count*2, kind Vector2. This parameter represents a vector with 2 components

Returns

void

Released under the MPL-2.0 License.