CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

iShaderBranch Struct Reference

Any class that wants in on the shader variable system must implement this interface. More...

#include <shader.h>

Inheritance diagram for iShaderBranch:

iBase csBaseShaderBranch iMaterial iShader iShaderManager iShaderPass iShaderProgram iShaderTechnique iShaderWrapper List of all members.

Public Methods

virtual void AddChild (iShaderBranch *child)=0
 Add a child to this branch. More...

virtual void AddVariable (csShaderVariable *variable)=0
 Add a variable to this context. More...

virtual csShaderVariableGetVariable (csStringID name)=0
 Get variable. More...

virtual csSymbolTableGetSymbolTable ()=0
 Get the symbol table (used by the implementation to store the variables). More...

virtual csSymbolTableGetSymbolTable (int index)=0
 Get a symbol table from the array of symbol tables. More...

virtual void SelectSymbolTable (int index)=0
 Select the current symbol table from the array of symbol tables. More...


Detailed Description

Any class that wants in on the shader variable system must implement this interface.

Definition at line 55 of file shader.h.


Member Function Documentation

virtual void iShaderBranch::AddChild iShaderBranch *    child [pure virtual]
 

Add a child to this branch.

Implemented in csMaterial.

virtual void iShaderBranch::AddVariable csShaderVariable   variable [pure virtual]
 

Add a variable to this context.

Implemented in csMaterial.

virtual csSymbolTable* iShaderBranch::GetSymbolTable int    index [pure virtual]
 

Get a symbol table from the array of symbol tables.

If there is only one symbol table, return that one.

Implemented in csMaterial.

virtual csSymbolTable* iShaderBranch::GetSymbolTable   [pure virtual]
 

Get the symbol table (used by the implementation to store the variables).

Implemented in csMaterial.

Referenced by csMaterial::AddChild.

virtual csShaderVariable* iShaderBranch::GetVariable csStringID    name [pure virtual]
 

Get variable.

Implemented in csMaterial.

virtual void iShaderBranch::SelectSymbolTable int    index [pure virtual]
 

Select the current symbol table from the array of symbol tables.

If there is only one symbol table, this is a no-op.

Implemented in csMaterial.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.14