![]() |
Public API Reference |
#include <shader.h>
Inheritance diagram for iShaderManager:
Public Methods | |
virtual csPtr< iShader > | CreateShader ()=0 |
Create a empty shader. More... | |
virtual iShader * | GetShader (const char *name)=0 |
Get a shader by name. More... | |
virtual const csBasicVector & | GetShaders ()=0 |
Returns all shaders that have been created. More... | |
virtual csPtr< iShaderVariable > | CreateVariable (const char *name)=0 |
Create variable. More... | |
virtual bool | AddVariable (iShaderVariable *variable)=0 |
Add a variable to this context. More... | |
virtual iShaderVariable * | GetVariable (int namehash)=0 |
Get variable. More... | |
virtual csBasicVector | GetAllVariableNames ()=0 |
Get all variable stringnames added to this context (used when creatingthem). More... | |
virtual csPtr< iShaderProgram > | CreateShaderProgram (const char *type)=0 |
Create a shaderprogram. More... |
Will only be one at a given time
Definition at line 48 of file shader.h.
|
Add a variable to this context.
|
|
Create a empty shader.
|
|
Create a shaderprogram.
|
|
Create variable.
|
|
Get all variable stringnames added to this context (used when creatingthem).
|
|
Get a shader by name.
|
|
Returns all shaders that have been created.
|
|
Get variable.
|