OpenGlShader.Uniform

OpenGlShader.uniforms.name gives you one of these.

You can get the id out of it or just assign

class OpenGlShader
static
struct Uniform {}

Members

Functions

opAssign
void opAssign(float x, float y, float z, float w)

Assigns the 4 floats. You will probably have to call this via the .opAssign name

Variables

id
int id;

the id passed to glUniform*

Meta