iShaderVariableContext Struct Reference
This is a baseclass for all interfaces which provides shadervariables both dynamically and static. More...
#include <shader.h>
Inheritance diagram for iShaderVariableContext:

Public Methods | |
virtual void | AddVariable (csShaderVariable *variable)=0 |
Add a variable to this context. | |
virtual csShaderVariable * | GetVariable (csStringID name) const=0 |
Get a named variable from this context. | |
virtual csShaderVariable * | GetVariableRecursive (csStringID name) const=0 |
Get a named variable from this context, and any context above/outer. | |
virtual unsigned int | FillVariableList (csShaderVariableProxyList *list) const=0 |
Fill a csShaderVariableList. Return number of variables filled. | |
csShaderVariable * | GetVariableAdd (csStringID name) |
Like GetVariable(), but it also adds it if doesn't exist already. | |
csShaderVariable * | GetVariableRecursiveAdd (csStringID name) |
Like GetVariable(), but it also adds it if doesn't exist already. |
Detailed Description
This is a baseclass for all interfaces which provides shadervariables both dynamically and static.
Definition at line 52 of file shader.h.
Member Function Documentation
|
Add a variable to this context.
Referenced by GetVariableAdd(), and GetVariableRecursiveAdd(). |
|
Fill a csShaderVariableList. Return number of variables filled.
|
|
Get a named variable from this context.
Referenced by GetVariableAdd(). |
|
Like GetVariable(), but it also adds it if doesn't exist already.
Definition at line 69 of file shader.h. References AddVariable(), csStringID, and GetVariable(). |
|
Get a named variable from this context, and any context above/outer.
Referenced by GetVariableRecursiveAdd(). |
|
Like GetVariable(), but it also adds it if doesn't exist already.
Definition at line 84 of file shader.h. References AddVariable(), csStringID, and GetVariableRecursive(). |
The documentation for this struct was generated from the following file:
- ivideo/shader/shader.h
Generated for Crystal Space by doxygen 1.2.18