CrystalSpace

Public API Reference

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:

Generated for Crystal Space 2.0 by doxygen 1.6.1