|
| Program (Program &&program) noexcept |
|
void | load (const AString &vertex, const AString &fragment, const AVector< AString > &attribs={}, const AString &version={}) |
|
void | loadVertexShader (const AString &vertex, bool raw) |
|
void | loadFragmentShader (const AString &fragment, bool raw) |
|
void | loadRaw (const AString &vertex, const AString &fragment) |
|
void | compile () |
|
void | bindAttribute (uint32_t index, const AString &name) |
|
void | use () const |
|
| Program (const Program &)=delete |
|
uint32_t | handle () const |
|
int32_t | getLocation (const Uniform &uniform) const |
|
void | set (const gl::Program::Uniform &uniform, int value) const |
|
void | set (const gl::Program::Uniform &uniform, float value) const |
|
void | set (const gl::Program::Uniform &uniform, double value) const |
|
void | set (const gl::Program::Uniform &uniform, glm::mat4 value) const |
|
void | set (const gl::Program::Uniform &uniform, glm::mat3 value) const |
|
void | set (const gl::Program::Uniform &uniform, glm::dmat4 value) const |
|
void | set (const gl::Program::Uniform &uniform, glm::vec2 value) const |
|
void | set (const gl::Program::Uniform &uniform, glm::vec3 value) const |
|
void | set (const gl::Program::Uniform &uniform, glm::vec4 value) const |
|
void | setArray (const gl::Program::Uniform &uniform, AArrayView< float > value) const |
|
Program & | operator= (Program &&program) noexcept |
|
| noncopyable (const noncopyable &)=delete |
|
noncopyable & | operator= (const noncopyable &)=delete |
|