CrystalSpace

Public API Reference

Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

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

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 225 of file shader.h.


Constructor & Destructor Documentation

csShaderMetadata::csShaderMetadata  )  [inline]
 

Constructor to null out parameters.

Definition at line 238 of file shader.h.


Member Data Documentation

char* csShaderMetadata::description
 

Descriptive string.

Definition at line 228 of file shader.h.

uint csShaderMetadata::numberOfLights
 

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 235 of file shader.h.


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