CrystalSpace

Public API Reference

csShaderMetadata Struct Reference

Shader metadata. More...

#include <ivideo/shader/shader.h>

List of all members.

Public Member Functions

 csShaderMetadata ()
 Constructor to null out parameters.

Public Attributes

const char * description
 Descriptive string.
uint numberOfLights
 Number of lights this shader can process in a pass.

Detailed Description

Shader metadata.

This struct holds shader metadata such as how many lights per pass the shader supports, description etc that is not directly describing exactly what the shader does, but tells the rest of the engine how it should be used.

Definition at line 454 of file shader.h.


Constructor & Destructor Documentation

csShaderMetadata::csShaderMetadata (  )  [inline]

Constructor to null out parameters.

Definition at line 467 of file shader.h.


Member Data Documentation

Descriptive string.

Definition at line 457 of file shader.h.

Number of lights this shader can process in a pass.

0 means either that the shader does not do any lighting, or that it can provide any number of lights.

Definition at line 464 of file shader.h.


The documentation for this struct was generated from the following file:

Generated for Crystal Space 2.0 by doxygen 1.6.1