![]() |
Public API Reference |
An evaluable expression attached to a shader variable. More...
#include <csgfx/shaderexp.h>
Public Member Functions | |
| const char * | GetError () const |
| Retrieve the error message if the evaluation or parsing failed. | |
| bool | Parse (iDocumentNode *) |
| Parse in the XML in the context of a symbol table. | |
| bool | Evaluate (csShaderVariable *, csShaderVariableStack &stacks) |
| Evaluate this expression into a variable. | |
An evaluable expression attached to a shader variable.
Definition at line 45 of file shaderexp.h.
| bool csShaderExpression::Evaluate | ( | csShaderVariable * | , |
| csShaderVariableStack & | stacks | ||
| ) |
Evaluate this expression into a variable.
It will use the symbol table it was initialized with.
| const char* csShaderExpression::GetError | ( | ) | const [inline] |
Retrieve the error message if the evaluation or parsing failed.
Definition at line 262 of file shaderexp.h.
| bool csShaderExpression::Parse | ( | iDocumentNode * | ) |
Parse in the XML in the context of a symbol table.