Skip to content

API Reference / @gtkx/gl / uniform1f

Function: uniform1f()

uniform1f(location, v0): void

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

void glUniform1f(GLint location, GLfloat v0)

Provided by GL_VERSION_2_0.

Parameters

location

number

GLint

v0

number

GLfloat

Returns

void

See

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

Released under the MPL-2.0 License.