iShaderCompiler Struct Reference
Compiler of shaders. More...
#include <ivideo/shader/shader.h>
Inheritance diagram for iShaderCompiler:

Public Member Functions | |
virtual const char * | GetName ()=0 |
Get a name identifying this compiler. | |
virtual csPtr< iShader > | CompileShader (iDocumentNode *templ, int forcepriority=-1)=0 |
Compile a template into a shader. | |
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. | |
virtual csPtr< iShaderPriorityList > | GetPriorities (iDocumentNode *templ)=0 |
Return a list of all possible priorities (for techniques) for this shader. |
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 254 of file shader.h.
Member Function Documentation
|
Compile a template into a shader. Will return 0 if it fails. If the optional 'forcepriority' parameter is given then only the technique with the given priority will be considered. If this technique fails then the shader cannot be compiled. If no priority is forced then the highest priority technique that works will be selected. |
|
Get a name identifying this compiler.
|
|
Return a list of all possible priorities (for techniques) for this shader. This is a full list. It might also contain priorities for techniques that don't work on this hardware. |
|
Check if template is parsable by this compiler.
|
|
Validate if a template is a valid shader to this compiler.
|
The documentation for this struct was generated from the following file:
- ivideo/shader/shader.h
Generated for Crystal Space by doxygen 1.3.9.1