CS::RenderManager::StandardSVSetup< RenderTree, LayerConfigType > Class Template 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
CS::RenderManager::StandardSVSetup< RenderTree, LayerConfigType > Class Template Reference

Standard shader variable stack setup functor. More...

`#include <csplugincommon/rendermanager/svsetup.h>`

List of all members.

## Public Member Functions
void | operator() (typename RenderTree::MeshNode *node)
| Operator doing main work.

## Detailed Description

### template<typename RenderTree, typename LayerConfigType>
class CS::RenderManager::StandardSVSetup< RenderTree, LayerConfigType >

Standard shader variable stack setup functor.

Sets up mesh-specific SVs for the object to world and inverse transform, SVs from the layer, material, rendermesh and mesh wrapper. Assumes that the contextLocalId in each mesh is set.

Usage: with iteration over each mesh. Usually after SetupStandardSVs. Example:

     {
       StandardSVSetup<RenderTree, RenderLayers> svSetup (
         context.svArrays, layerConfig);
       ForEachMeshNode (context, svSetup);
     }

Definition at line 57 of file svsetup.h.

## Member Function Documentation

template<typename RenderTree , typename LayerConfigType >

void CS::RenderManager::StandardSVSetup< RenderTree, LayerConfigType >::operator() | ( | typename RenderTree::MeshNode * | node | ) | `[inline]`

Operator doing main work.

Definition at line 68 of file svsetup.h.

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

- csplugincommon/rendermanager/svsetup.h