csShaderVariableContext Class Reference
Simple implementation for iShaderVariableContext. More...
#include <csgfx/shadervarcontext.h>
Inheritance diagram for csShaderVariableContext:

Public Member Functions | |
virtual void | AddVariable (csShaderVariable *variable) |
Add a variable to this context. | |
virtual void | Clear () |
Remove all variables from this context. | |
const csRefArray< csShaderVariable > & | GetShaderVariables () const |
Get Array of all ShaderVariables. | |
virtual csShaderVariable * | GetVariable (csStringID name) const |
Get a named variable from this context. | |
virtual bool | IsEmpty () const |
Determine whether this SV context contains any variables at all. | |
virtual void | PushVariables (csShaderVarStack &stacks) const |
Push the variables of this context onto the variable stacks supplied in the "stacks" argument. | |
virtual void | ReplaceVariable (csShaderVariable *variable) |
Replace the current variable object of the same name as variable with the latter, add variable otherwise. | |
Public Attributes | |
SCF_DECLARE_IBASE |
Detailed Description
Simple implementation for iShaderVariableContext.
Definition at line 35 of file shadervarcontext.h.
Member Function Documentation
|
Add a variable to this context.
Implements iShaderVariableContext. |
|
Remove all variables from this context.
Implements iShaderVariableContext. Definition at line 55 of file shadervarcontext.h. |
|
Get Array of all ShaderVariables.
Implements iShaderVariableContext. Definition at line 48 of file shadervarcontext.h. |
|
Get a named variable from this context.
Implements iShaderVariableContext. |
|
Determine whether this SV context contains any variables at all.
Implements iShaderVariableContext. Definition at line 53 of file shadervarcontext.h. |
|
Push the variables of this context onto the variable stacks supplied in the "stacks" argument.
Implements iShaderVariableContext. |
|
Replace the current variable object of the same name as variable with the latter, add variable otherwise.
Implements iShaderVariableContext. |
The documentation for this class was generated from the following file:
- csgfx/shadervarcontext.h
Generated for Crystal Space by doxygen 1.4.4