Shader.Uniform

Undocumented in source.

Constructors

this
this(string n, Shader s)
Undocumented in source.

Members

Aliases

UniformTypes
alias UniformTypes = Tuple!(GL_FLOAT, float, GL_FLOAT_VEC2, float[2], GL_FLOAT_VEC3, float[3], GL_FLOAT_VEC4, float[4], GL_FLOAT_VEC2, Vector!2, GL_FLOAT_VEC3, Vector!3, GL_FLOAT_VEC4, Vector!4, GL_BOOL, GLboolean, GL_FLOAT_MAT3, Matrix!(3, 3), GL_FLOAT_MAT4, Matrix!(4, 4), GL_SAMPLER_2D, GLint)
Undocumented in source.

Functions

gltype
GLenum gltype()
Undocumented in source. Be warned that the author may not have intended to support it.
set
void set(T r)
Undocumented in source. Be warned that the author may not have intended to support it.
update
void update(bool dead)
Undocumented in source. Be warned that the author may not have intended to support it.

Templates

Tuple
template Tuple(E...)
Undocumented in source.

Variables

location
int location;
Undocumented in source.
name
string name;
Undocumented in source.
shader
Shader shader;
Undocumented in source.
type
GLenum type;
Undocumented in source.
valid
bool valid;
Undocumented in source.

Meta