Skip to content

API Reference / @gtkx/gl / uniform2d

Function: uniform2d() ​

uniform2d(location, x, y): void

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

void glUniform2d(GLint location, GLdouble x, GLdouble y)

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

Returns ​

void