|
| Shader (const std::vector< std::pair< ShaderType, std::string >> &items, Build buildShader=Build::Yes) |
|
| Shader (const std::vector< std::pair< ShaderType, std::shared_ptr< const ShaderResource >>> &items, Build buildShader=Build::Yes) |
|
| Shader (std::string fragmentFilename, bool buildShader=true) |
|
| Shader (std::string vertexFilename, std::string fragmentFilename, bool buildShader=true) |
|
| Shader (std::string vertexFilename, std::string geometryFilename, std::string fragmentFilename, bool buildShader=true) |
|
| Shader (const char *fragmentFilename, bool buildShader=true) |
|
| Shader (const char *vertexFilename, const char *fragmentFilename, bool buildShader=true) |
|
| Shader (const char *vertexFilename, const char *geometryFilename, const char *fragmentFilename, bool buildShader=true) |
|
| Shader (std::vector< std::unique_ptr< ShaderObject >> &shaderObjects, bool buildShader=true) |
|
| Shader (const Shader &rhs) |
|
| Shader (Shader &&rhs) |
|
Shader & | operator= (const Shader &that) |
|
Shader & | operator= (Shader &&that) |
|
void | link () |
|
void | build () |
|
bool | isReady () const |
|
GLuint | getID () const |
|
iterator | begin () |
|
iterator | end () |
|
const_iterator | begin () const |
|
const_iterator | end () const |
|
util::iter_range< iterator > | getShaderObjects () |
|
util::iter_range< const_iterator > | getShaderObjects () const |
|
ShaderObject * | operator[] (ShaderType type) const |
|
ShaderObject * | getShaderObject (ShaderType type) const |
|
ShaderObject * | getVertexShaderObject () const |
|
ShaderObject * | getGeometryShaderObject () const |
|
ShaderObject * | getFragmentShaderObject () const |
|
void | activate () |
|
void | deactivate () |
|
template<typename T > |
void | setUniform (const std::string &name, const T &value) const |
|
template<typename T > |
void | setUniform (const std::string &name, std::size_t len, const T *value) const |
|
void | setUniformWarningLevel (UniformWarning level) |
|
const BaseCallBack * | onReload (std::function< void()> callback) |
|
void | removeOnReload (const BaseCallBack *callback) |
|