Skip to content

API Reference / @gtkx/gl / uniform4fv

Function: uniform4fv()

uniform4fv(location, count, value): void

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

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

Provided by GL_VERSION_2_0. Also known as glUniform4fvARB.

Parameters

location

number

GLint

count

number

GLsizei

value

number[] | Float32Array<ArrayBufferLike>

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

Returns

void

Released under the MPL-2.0 License.