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

Public Member Functions | |
| virtual void | AddVariable (csShaderVariable *variable)=0 |
| Add a variable to this context. | |
| virtual void | Clear ()=0 |
| Remove all variables from this context. | |
| virtual const csRefArray< csShaderVariable > & | GetShaderVariables () const =0 |
| Get Array of all ShaderVariables. | |
| virtual csShaderVariable * | GetVariable (csStringID name) const =0 |
| Get a named variable from this context. | |
| csShaderVariable * | GetVariableAdd (csStringID name) |
| Like GetVariable(), but it also adds it if doesn't exist already. | |
| virtual bool | IsEmpty () const =0 |
| Determine whether this SV context contains any variables at all. | |
| virtual void | PushVariables (csShaderVarStack &stacks) const =0 |
| Push the variables of this context onto the variable stacks supplied in the "stacks" argument. | |
| virtual void | ReplaceVariable (csShaderVariable *variable)=0 |
| Replace the current variable object of the same name as variable with the latter, add variable otherwise. | |
Detailed Description
This is a baseclass for all interfaces which provides shadervariables both dynamically and static.
Definition at line 72 of file shader.h.
Member Function Documentation
|
|
Add a variable to this context.
Implemented in csShaderVariableContext. Referenced by GetVariableAdd(). |
|
|
Remove all variables from this context.
Implemented in csShaderVariableContext. |
|
|
Get Array of all ShaderVariables.
Implemented in csShaderVariableContext. |
|
|
Get a named variable from this context.
Implemented in csShaderVariableContext. Referenced by GetVariableAdd(). |
|
|
Like GetVariable(), but it also adds it if doesn't exist already.
Definition at line 87 of file shader.h. References AddVariable(), and GetVariable(). |
|
|
Determine whether this SV context contains any variables at all.
Implemented in csShaderVariableContext. |
|
|
Push the variables of this context onto the variable stacks supplied in the "stacks" argument.
Implemented in csShaderVariableContext. |
|
|
Replace the current variable object of the same name as variable with the latter, add variable otherwise.
Implemented in csShaderVariableContext. |
The documentation for this struct was generated from the following file:
- ivideo/shader/shader.h
Generated for Crystal Space by doxygen 1.4.6
