Skip to content

API Reference / @gtkx/gl / uniform4d

Function: uniform4d() ​

uniform4d(location, x, y, z, w): void

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

void glUniform4d(GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w)

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

y ​

number

GLdouble

z ​

number

GLdouble

w ​

number

GLdouble

Returns ​

void