Skip to content

API Reference / @gtkx/gl / uniform4f

Function: uniform4f()

uniform4f(location, v0, v1, v2, v3): void

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

void glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3)

Provided by GL_VERSION_2_0.

Parameters

location

number

GLint

v0

number

GLfloat

v1

number

GLfloat

v2

number

GLfloat

v3

number

GLfloat

Returns

void

See

https://registry.khronos.org/OpenGL-Refpages/gl4/html/glUniform4f.xhtml

Released under the MPL-2.0 License.