gfmod.opengl.uniform

Members

Classes

GLUniform
class GLUniform

Represents an OpenGL program uniform. Owned by a GLProgram. Both uniform locations and values are cached, to minimize OpenGL calls.

Functions

isUniformSpec
bool isUniformSpec()

Checks if Spec is a valid uniform specification.

Structs

GLUniforms
struct GLUniforms(Spec)

A type-safe API for manipulating GLSL uniform variables.

Templates

FieldNamesTuple
template FieldNamesTuple(S)

Get a compile-time tuple containing names of all fields in a struct.

Meta