Skip to content

API Reference / @gtkx/gl / uniform2f

Function: uniform2f()

uniform2f(location, v0, v1): void

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

void glUniform2f(GLint location, GLfloat v0, GLfloat v1)

Provided by GL_VERSION_2_0.

Parameters

location

number

GLint

v0

number

GLfloat

v1

number

GLfloat

Returns

void

See

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

Released under the MPL-2.0 License.