Skip to content

API Reference / @gtkx/gl / uniform1d

Function: uniform1d() ​

uniform1d(location, x): void

Defined in: packages/gl/src/generated/commands.ts:7561

void glUniform1d(GLint location, GLdouble x)

Provided by GL_VERSION_4_0. Registry note: Reuse ARB_gpu_shader_fp64 Also provided by the GL_ARB_gpu_shader_fp64 extension.

Parameters ​

location ​

number

GLint

x ​

number

GLdouble

Returns ​

void