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

Traverser for all meshes in a tree, returning the set of used shader variables for each mesh. More...

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

List of all members.

## Detailed Description

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

Traverser for all meshes in a tree, returning the set of used shader variables for each mesh.

Usage: together with ForEachMeshNode(). A functor must be provided in Fn which implements void operator() (RenderTree::MeshNode* node, size_t layer, RenderTree::MeshNode::SingleMesh& mesh, csBitArray names). The names bit array will have a bit set for each shader variable name used by the given mesh.

Definition at line 44 of file svtraverse.h.

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

- csplugincommon/rendermanager/svtraverse.h