CS::RenderManager::StandardSVSetup< RenderTree, LayerConfigType > Class Template Reference
Standard shader variable stack setup functor. More...
#include <csplugincommon/rendermanager/svsetup.h>
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] |
The documentation for this class was generated from the following file:
- csplugincommon/rendermanager/svsetup.h
Generated for Crystal Space 2.1 by doxygen 1.6.1
