|
using | Callback = std::function< void(GLuint)> |
|
|
| ShaderManager (const ShaderManager &)=delete |
|
ShaderManager & | operator= (const ShaderManager &)=delete |
|
void | registerShader (Shader *shader) |
|
void | unregisterShader (Shader *shader) |
|
bool | isRegistered (Shader *shader) const |
|
int | getGlobalGLSLVersion () |
|
void | addShaderSearchPath (std::string) |
|
const std::vector< std::string > & | getShaderSearchPaths () |
|
void | addShaderResource (std::string key, std::string resource) |
|
void | addShaderResource (std::string key, std::unique_ptr< ShaderResource > resource) |
|
std::shared_ptr< ShaderResource > | getShaderResource (std::string key) |
|
const std::vector< Shader * > & | getShaders () const |
|
void | rebuildAllShaders () |
|
void | setOpenGLSettings (OpenGLSettings *settings) |
|
Shader::OnError | getOnShaderError () const |
|
template<typename T > |
std::shared_ptr< Callback > | onDidAddShader (T &&callback) |
|
template<typename T > |
std::shared_ptr< Callback > | onWillRemoveShader (T &&callback) |
|
OpenGLCapabilities * | getOpenGLCapabilities () |
|
| Singleton (Singleton< ShaderManager > const &)=delete |
|
void | operator= (Singleton< ShaderManager > const &)=delete |
|
|
static void | init () |
|
static void | init (ShaderManager *instance) |
|
static ShaderManager * | getPtr () |
|
static void | deleteInstance () |
|
static bool | isInitialized () |
|
The documentation for this class was generated from the following files:
- shadermanager.h
- shadermanager.cpp