csShaderMetadata Struct Reference (Crystal Space 2.0 Public API Reference)

| ## Public API Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes
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

const char* csShaderMetadata::description

Descriptive string.

Definition at line 457 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 464 of file shader.h.

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

- ivideo/shader/shader.h