iShaderManager Struct Reference
A manager for all shaders. More...
#include <ivideo/shader/shader.h>
Inheritance diagram for iShaderManager:

Public Member Functions | |
| virtual const csArray< iLight * > & | GetActiveLights () const =0 |
| Get the list of active lights. | |
| virtual iShaderCompiler * | GetCompiler (const char *name)=0 |
| Get a shadercompiler by name. | |
| virtual iShader * | GetShader (const char *name)=0 |
| Get a shader by name. | |
| virtual const csRefArray< iShader > & | GetShaders ()=0 |
| Returns all shaders that have been created. | |
| virtual csShaderVarStack & | GetShaderVariableStack ()=0 |
| Get the shadervariablestack used to handle shadervariables on rendering. | |
| virtual void | GetTagOptions (csStringID tag, csShaderTagPresence &presence, int &priority)=0 |
| Get a technique tag's options. | |
| virtual const csSet< csStringID > & | GetTags (csShaderTagPresence presence, int &count)=0 |
| Get the list of all tags with a specific presence setting. | |
| virtual void | RegisterCompiler (iShaderCompiler *compiler)=0 |
| Register a compiler to the manager. | |
| virtual void | RegisterShader (iShader *shader)=0 |
| Register a shader to the shadermanager. | |
| virtual void | SetActiveLights (const csArray< iLight * > &lights)=0 |
| Set the list of active lights. | |
| virtual void | SetTagOptions (csStringID tag, csShaderTagPresence presence, int priority=0)=0 |
| Set a technique tag's options. | |
| virtual void | UnregisterShader (iShader *shader)=0 |
| Unregister a shader. | |
Detailed Description
A manager for all shaders.Will only be one at a given time
Definition at line 152 of file shader.h.
Member Function Documentation
|
|
Get the list of active lights.
|
|
|
Get a shadercompiler by name.
|
|
|
Get a shader by name.
|
|
|
Returns all shaders that have been created.
|
|
|
Get the shadervariablestack used to handle shadervariables on rendering.
|
|
||||||||||||||||
|
Get a technique tag's options. Set a technique tag's options.
|
|
||||||||||||
|
Get the list of all tags with a specific presence setting.
|
|
|
Register a compiler to the manager.
|
|
|
Register a shader to the shadermanager. Compiler should register all shaders |
|
|
Set the list of active lights. Active lights is lights that the shader should use. |
|
||||||||||||||||
|
Set a technique tag's options.
|
|
|
Unregister a shader.
|
The documentation for this struct was generated from the following file:
- ivideo/shader/shader.h
Generated for Crystal Space by doxygen 1.4.6
