|
| GPUProgram (const GPUProgramID &id, Renderer *renderer, const std::string &vertex_source, const std::string &fragment_source) |
|
| GPUProgram (const GPUProgram &)=delete |
|
GPUProgram & | operator= (const GPUProgram &)=delete |
|
bool | on_init () override |
|
void | on_clean_up () override |
|
bool | is_current () const |
|
void | activate () |
|
bool | is_complete () const |
|
bool | is_compiled (ShaderType type) const |
|
void | compile (ShaderType type) |
|
void | build () |
|
ProgramLinkedSignal & | signal_linked () |
|
ShaderCompiledSignal & | signal_shader_compiled () |
|
std::string | md5 () |
|
const std::unordered_map< ShaderType, ShaderInfo > | shader_infos () const |
|
GLint | locate_uniform (const std::string &name, bool fail_silently=false) |
|
GLint | locate_attribute (const std::string &name, bool fail_silently=false) |
|
void | set_uniform_location (const std::string &name, GLint location) |
|
void | set_attribute_location (const std::string &name, GLint location) |
|
UniformInfo | uniform_info (const std::string &uniform_name) |
|
void | clear_cache () |
|
void | set_uniform_int (const int32_t loc, const int32_t value) |
|
void | set_uniform_mat4x4 (const int32_t loc, const Mat4 &values) |
|
void | set_uniform_color (const int32_t loc, const Color &values) |
|
void | set_uniform_vec4 (const int32_t loc, const Vec4 &values) |
|
void | set_uniform_float (const int32_t loc, const float value) |
|
void | set_uniform_int (const std::string &uniform_name, const int32_t value, bool fail_silently=false) |
|
void | set_uniform_float (const std::string &uniform_name, const float value, bool fail_silently=false) |
|
void | set_uniform_mat4x4 (const std::string &uniform_name, const Mat4 &values) |
|
void | set_uniform_mat3x3 (const std::string &uniform_name, const Mat3 &values) |
|
void | set_uniform_vec3 (const std::string &uniform_name, const Vec3 &values) |
|
void | set_uniform_vec4 (const std::string &uniform_name, const Vec4 &values) |
|
void | set_uniform_color (const std::string &uniform_name, const Color &values) |
|
void | set_uniform_mat4x4_array (const std::string &uniform_name, const std::vector< Mat4 > &matrices) |
|
void | relink () |
|
GLuint | program_object () const |
|
void | prepare_program () |
|
void | _set_renderer_specific_id (uint32_t id) |
|
uint32_t | _renderer_specific_id () const |
|
bool | init () |
|
void | clean_up () |
|
| Identifiable (GPUProgramID id) |
|
GPUProgramID | id () const |
|
virtual bool | operator== (const Identifiable< GPUProgramID > &rhs) const |
|
virtual bool | operator< (const Identifiable< GPUProgramID > &rhs) const |
|