CrystalSpace

Public API Reference

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

iShaderTechnique Struct Reference

One specific technique used by shader. More...

#include <shader.h>

Inheritance diagram for iShaderTechnique:

iBase List of all members.

Public Methods

virtual void SetPriority (int priority)=0
 Set technique priority. More...

virtual csPtr< iShaderPassCreatePass ()=0
 Create a pass. More...

virtual int GetPassCount ()=0
 Get number of passes. More...

virtual iShaderPassGetPass (int pass)=0
 Retrieve a pass. More...

virtual bool IsValid ()=0
 Check if valid. More...

virtual bool Load (iDataBuffer *program)=0
 Loads a technique from buffer. More...

virtual bool Load (iDocumentNode *node)=0
 Loads from a document-node. More...

virtual bool Prepare ()=0
 Prepares the technique for usage. More...


Detailed Description

One specific technique used by shader.

Definition at line 152 of file shader.h.


Member Function Documentation

virtual csPtr<iShaderPass> iShaderTechnique::CreatePass   [pure virtual]
 

Create a pass.

virtual iShaderPass* iShaderTechnique::GetPass int    pass [pure virtual]
 

Retrieve a pass.

virtual int iShaderTechnique::GetPassCount   [pure virtual]
 

Get number of passes.

virtual bool iShaderTechnique::IsValid   [pure virtual]
 

Check if valid.

virtual bool iShaderTechnique::Load iDocumentNode   node [pure virtual]
 

Loads from a document-node.

virtual bool iShaderTechnique::Load iDataBuffer   program [pure virtual]
 

Loads a technique from buffer.

virtual bool iShaderTechnique::Prepare   [pure virtual]
 

Prepares the technique for usage.

virtual void iShaderTechnique::SetPriority int    priority [pure virtual]
 

Set technique priority.


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