CrystalSpace

Public API Reference

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

iShader Struct Reference

Specific shader. More...

#include <shader.h>

Inheritance diagram for iShader:

iShaderVariableContext iBase List of all members.

Public Methods

virtual const char * GetName ()=0
 Retrieve name of shader.

virtual int GetNumberOfPasses ()=0
 Get number of passes this shader have.

virtual bool ActivatePass (unsigned int number)=0
 Activate a pass for rendering.

virtual bool SetupPass (csRenderMesh *mesh, const csArray< iShaderVariableContext * > &dynamicDomains)=0
 Setup a pass.

virtual bool TeardownPass ()=0
 Tear down current state, and prepare for a new mesh (for which SetupPass is called).

virtual bool DeactivatePass ()=0
 Completly deactivate a pass.


Detailed Description

Specific shader.

Can/will be either render-specific or general The shader in this form is "compiled" and cannot be modified

Definition at line 132 of file shader.h.


Member Function Documentation

virtual bool iShader::ActivatePass unsigned int    number [pure virtual]
 

Activate a pass for rendering.

virtual bool iShader::DeactivatePass   [pure virtual]
 

Completly deactivate a pass.

virtual const char* iShader::GetName   [pure virtual]
 

Retrieve name of shader.

virtual int iShader::GetNumberOfPasses   [pure virtual]
 

Get number of passes this shader have.

virtual bool iShader::SetupPass csRenderMesh   mesh,
const csArray< iShaderVariableContext * > &    dynamicDomains
[pure virtual]
 

Setup a pass.

virtual bool iShader::TeardownPass   [pure virtual]
 

Tear down current state, and prepare for a new mesh (for which SetupPass is called).


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