- attach
void attach(Program program, Shader!shaderType shader)
- checkError
void checkError(T id)
Undocumented in source. Be warned that the author may not have intended to support it.
- create
void create(Program program)
- del
void del(Program program)
- getAttribute
int getAttribute(Program program, string name)
glGetAttribLocation wrapper
- getUniform
int getUniform(Program program, string name)
- link
void link(Program program)
- uniform
void uniform(Program program, int uniform, Type value)
- uniformArray
void uniformArray(Program program, int uniform, Type[size][length] value)
Undocumented in source. Be warned that the author may not have intended to support it.
- uniformMatrices
void uniformMatrices(Program program, int uniform, Type[width][height][amount] value, bool transpose)
Undocumented in source. Be warned that the author may not have intended to support it.
- uniformMatrix
void uniformMatrix(Program program, int uniform, Type[width][height] value, bool transpose)
Undocumented in source. Be warned that the author may not have intended to support it.
- uniformVector
void uniformVector(Program program, int uniform, Type[size] value)
Undocumented in source. Be warned that the author may not have intended to support it.
- uniformVector
void uniformVector(Program program, int uniform, Type[size] value)
Undocumented in source. Be warned that the author may not have intended to support it.
- uniformVector
void uniformVector(Program program, int uniform, Type[size] value)
Undocumented in source. Be warned that the author may not have intended to support it.
- uniformVector
void uniformVector(Program program, int uniform, Type[size] value)
Undocumented in source. Be warned that the author may not have intended to support it.
- use
void use(Program program)
glUseProgram wrapper.
Binds program to be used by future calls.