![]() |
NDEVR
API Documentation
|
Manages all shaders used with OpenGL and the NDEVR API. More...
Public Member Functions | |
| GLESShaderManager (const DynamicPointer< GLESGraphicsDevice > &device) | |
| Constructs a GLESShaderManager for the given device. | |
| GLESShader * | createShader (const GLESShader::Definition &def) |
| Creates and compiles a new shader from the given definition. | |
| GLESShader * | shader (const GLESShader::Definition &def) |
| Retrieves an existing shader matching the definition, or nullptr. | |
| const Dictionary< uint04, GLESShader * > & | shaders () const |
| Returns the dictionary of all compiled shaders. | |
Manages all shaders used with OpenGL and the NDEVR API.
Definition at line 278 of file GLESShader.h.
| GLESShaderManager::GLESShaderManager | ( | const DynamicPointer< GLESGraphicsDevice > & | device | ) |
Constructs a GLESShaderManager for the given device.
| [in] | device | The OpenGL graphics device. |
| GLESShader * GLESShaderManager::createShader | ( | const GLESShader::Definition & | def | ) |
Creates and compiles a new shader from the given definition.
| [in] | def | The shader feature definition. |
| GLESShader * GLESShaderManager::shader | ( | const GLESShader::Definition & | def | ) |
Retrieves an existing shader matching the definition, or nullptr.
| [in] | def | The shader feature definition. |
|
inline |
Returns the dictionary of all compiled shaders.
Definition at line 286 of file GLESShader.h.