|
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 (const std::filesystem::path &path) |
|
const std::vector< std::filesystem::path > & | getShaderSearchPaths () |
|
void | addShaderResource (std::string key, std::string resource) |
|
void | addShaderResource (std::unique_ptr< ShaderResource > resource) |
|
void | addShaderResource (std::shared_ptr< ShaderResource > resource) |
|
std::shared_ptr< ShaderResource > | getShaderResource (std::string_view 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 (const Singleton &)=delete |
|
void | operator= (const Singleton &)=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 file: