CrystalSpace

Public API Reference

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

iShaderManager Struct Reference

A manager for all shaders. More...

#include <shader.h>

Inheritance diagram for iShaderManager:

iShaderVariableContext iBase List of all members.

Public Methods

virtual void RegisterShader (iShader *shader)=0
 Register a shader to the shadermanager. Compiler should register all shaders.

virtual iShaderGetShader (const char *name)=0
 Get a shader by name.

virtual const csRefArray<
iShader > & 
GetShaders ()=0
 Returns all shaders that have been created.

virtual void RegisterCompiler (iShaderCompiler *compiler)=0
 Register a compiler to the manager.

virtual iShaderCompilerGetCompiler (const char *name)=0
 Get a shadercompiler by name.


Detailed Description

A manager for all shaders.

Will only be one at a given time

Definition at line 102 of file shader.h.


Member Function Documentation

virtual iShaderCompiler* iShaderManager::GetCompiler const char *    name [pure virtual]
 

Get a shadercompiler by name.

virtual iShader* iShaderManager::GetShader const char *    name [pure virtual]
 

Get a shader by name.

virtual const csRefArray<iShader>& iShaderManager::GetShaders   [pure virtual]
 

Returns all shaders that have been created.

virtual void iShaderManager::RegisterCompiler iShaderCompiler   compiler [pure virtual]
 

Register a compiler to the manager.

virtual void iShaderManager::RegisterShader iShader   shader [pure virtual]
 

Register a shader to the shadermanager. Compiler should register all shaders.


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