Public API Reference

ivideo/shader/shader.h File Reference

Shader-related interfaces. More...

#include "csutil/scf.h"
#include "iutil/array.h"
#include "csgfx/shadervar.h"
#include "csutil/array.h"
#include "csutil/bitarray.h"
#include "csutil/refarr.h"
#include "csutil/set.h"
#include "csutil/strset.h"
#include "csutil/noncopyable.h"

Go to the source code of this file.


struct  csShaderMetadata
 Shader metadata. More...
class  csShaderVariableStack
 A "shader variable stack". More...
struct  iShader
 Specific shader. More...
struct  iShaderCompiler
 Compiler of shaders. More...
struct  iShaderManager
 A manager for all shaders. More...
struct  iShaderPassesActivator
 Interface to perform shader pass activation. More...
struct  iShaderPriorityList
 A list of priorities as returned by iShaderCompiler::GetPriorities(). More...
struct  iShaderVariableContext
 This is a baseclass for all interfaces which provides shadervariables both dynamically and static. More...


namespace  CS

Main namespace for CrystalSpace.

namespace  CS::Graphics

Graphics and rendering related classes.


enum  csShaderTagPresence { TagNeutral, TagForbidden, TagRequired }

Possible settings regarding a techique tag's presence.



static csShaderVariablecsGetShaderVariableFromStack (const csShaderVariableStack &stack, const CS::ShaderVarStringID &name)
 Helper function to retrieve a single value from a shader variable stack.

Detailed Description

Shader-related interfaces.

Definition in file shader.h.

Enumeration Type Documentation

Possible settings regarding a techique tag's presence.


The tag is neither required nor forbidden.

However, it's priority still contributes to technique selection.


Techniques were this tag is present are rejected to be loaded.


Techniques are required to have one such tag.

If at least one required tag exists and no required tag is present in a technique, it doesn't validate.

Definition at line 331 of file shader.h.

Function Documentation

static csShaderVariable* csGetShaderVariableFromStack ( const csShaderVariableStack stack,
const CS::ShaderVarStringID name 
) [inline, static]

Helper function to retrieve a single value from a shader variable stack.

Definition at line 252 of file shader.h.

Generated for Crystal Space 2.1 by doxygen 1.6.1