CrystalSpace

Public API Reference

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:

Generated for Crystal Space 2.1 by doxygen 1.6.1