CS::RenderManager::TraverseUsedSVs< RenderTree, Fn > 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

CS::RenderManager::TraverseUsedSVs< RenderTree, Fn > Class Template Reference

Traverser for all meshes in a tree, calling the callback for each SV used by each mesh. More...

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

List of all members.

## Detailed Description

### template<typename RenderTree, typename Fn>
class CS::RenderManager::TraverseUsedSVs< RenderTree, Fn >

Traverser for all meshes in a tree, calling the callback for each SV used by each mesh.

Usage: together with ForEachMeshNode(). A functor must be provided in Fn which implements void operator() (CS::ShaderVarStringID varName, csShaderVariable* sv). The functor will be called for each shader variable used in the traversed context.

Definition at line 104 of file svtraverse.h.

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

- csplugincommon/rendermanager/svtraverse.h