iShaderVariableAccessor 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
iShaderVariableAccessor Struct Reference
3D

Interface to an accessorcallback for shadervariables. More...

`#include <csgfx/shadervar.h>`

Inheritance diagram for iShaderVariableAccessor:

List of all members.

## Public Member Functions
virtual void | PreGetValue (csShaderVariable *variable)=0
| Called before the value of the attached SV is returned.

## Detailed Description

Interface to an accessorcallback for shadervariables.

This is used when we know the object providing the value of a single variable, but the exact value cannot be predetermined.

Definition at line 82 of file shadervar.h.

## Member Function Documentation

virtual void iShaderVariableAccessor::PreGetValue | ( | csShaderVariable * | variable | ) | `[pure virtual]`

Called before the value of the attached SV is returned.

Implemented in csShaderExpressionAccessor, and csNormalizationCubeAccessor.

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

- csgfx/shadervar.h