CrystalSpace

Public API Reference

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

iShaderCompiler Struct Reference

Compiler of shaders. More...

#include <shader.h>

Inheritance diagram for iShaderCompiler:

iBase List of all members.

Public Methods

virtual const char * GetName ()=0
 Get a name identifying this compiler.

virtual csPtr< iShaderCompileShader (iDocumentNode *templ)=0
 Compile a template into a shader. Will return 0 if it fails.

virtual bool ValidateTemplate (iDocumentNode *templ)=0
 Validate if a template is a valid shader to this compiler.

virtual bool IsTemplateToCompiler (iDocumentNode *templ)=0
 Check if template is parsable by this compiler.


Detailed Description

Compiler of shaders.

Compile from a description of the shader to a compiled shader. The exact schema for input is specific to each shader- compiler.

Definition at line 164 of file shader.h.


Member Function Documentation

virtual csPtr<iShader> iShaderCompiler::CompileShader iDocumentNode   templ [pure virtual]
 

Compile a template into a shader. Will return 0 if it fails.

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

Get a name identifying this compiler.

virtual bool iShaderCompiler::IsTemplateToCompiler iDocumentNode   templ [pure virtual]
 

Check if template is parsable by this compiler.

virtual bool iShaderCompiler::ValidateTemplate iDocumentNode   templ [pure virtual]
 

Validate if a template is a valid shader to this compiler.


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