Skip to content

API Reference / @gtkx/gl / programUniform2iv

Function: programUniform2iv()

programUniform2iv(program, location, count, value): void

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

void glProgramUniform2iv(GLuint program, GLint location, GLsizei count, const GLint *value)

Provided by GL_VERSION_4_1. Registry note: Reuse commands from ARB_separate_shader_objects Also provided by the GL_ARB_separate_shader_objects extension. Also known as glProgramUniform2ivEXT.

Parameters

program

number

GLuint, object class program

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.