GLUniform

Abstraction over uniforms

Members

Functions

set
GLResult!void set(T value)
Undocumented in source. Be warned that the author may not have intended to support it.
set_location
GLResult!void set_location(string name, int program_id)
Undocumented in source. Be warned that the author may not have intended to support it.
set_mat4
GLResult!void set_mat4(int n, const(float)[] mat, bool normalized)
Undocumented in source. Be warned that the author may not have intended to support it.
set_mat4
GLResult!void set_mat4(const(float)[] mat, bool normalized)
Undocumented in source. Be warned that the author may not have intended to support it.
set_v
GLResult!void set_v(T[N] vec, int n)
Undocumented in source. Be warned that the author may not have intended to support it.
set_v
GLResult!void set_v(T[] vec, int n)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

from_name
GLResult!GLUniform from_name(string name, uint program_id)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

loc
int loc;
Undocumented in source.

Meta