![]() |
Public API 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. |
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); }
void CS::RenderManager::StandardSVSetup< RenderTree, LayerConfigType >::operator() | ( | typename RenderTree::MeshNode * | node | ) | [inline] |