Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages
iShaderProgram Struct Reference
A helper for shaders that which to use the general plugins. More...
#include <csplugincommon/shader/shaderplugin.h>
Inheritance diagram for iShaderProgram:

Public Member Functions | |
| virtual void | Activate ()=0 |
| Sets this program to be the one used when rendering. | |
| virtual void | Deactivate ()=0 |
| Deactivate program so that it's not used in next rendering. | |
| virtual void | SetupState (const csRenderMesh *mesh, const csShaderVarStack &stacks)=0 |
| Setup states needed for proper operation of the shaderprogram. | |
| virtual void | ResetState ()=0 |
| Reset states to original. | |
| virtual bool | Load (iDocumentNode *node)=0 |
| Loads from a document-node. | |
| virtual bool | Load (const char *program, csArray< csShaderVarMapping > &mappings)=0 |
| Loads from raw text. | |
| virtual bool | Compile (csArray< iShaderVariableContext * > &staticDomains)=0 |
| Compile a program. | |
| virtual int | ResolveTextureBinding (const char *binding)=0 |
| When the destination of a texture binding wasn't recognized, the FP is asked whether it can provide a TU number for it. | |
Detailed Description
A helper for shaders that which to use the general plugins.This is the main program plugin interface
Definition at line 40 of file shaderplugin.h.
Member Function Documentation
|
|
Sets this program to be the one used when rendering.
|
|
|
Compile a program.
|
|
|
Deactivate program so that it's not used in next rendering.
|
|
||||||||||||
|
Loads from raw text.
|
|
|
Loads from a document-node.
|
|
|
Reset states to original.
|
|
|
When the destination of a texture binding wasn't recognized, the FP is asked whether it can provide a TU number for it.
|
|
||||||||||||
|
Setup states needed for proper operation of the shaderprogram.
|
The documentation for this struct was generated from the following file:
- csplugincommon/shader/shaderplugin.h
Generated for Crystal Space by doxygen 1.3.9.1
