Skip to content

API Reference / @gtkx/gl / uniform2fv

Function: uniform2fv()

uniform2fv(location, count, value): void

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

void glUniform2fv(GLint location, GLsizei count, const GLfloat *value)

Provided by GL_VERSION_2_0. Also known as glUniform2fvARB.

Parameters

location

number

GLint

count

number

GLsizei

value

number[] | Float32Array<ArrayBufferLike>

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

Returns

void

Released under the MPL-2.0 License.