Public API Reference

CS::RenderManager::ShadowPSSM< RenderTree, LayerConfigType >::ViewSetup Class Reference

Shadow per-view specific data. More...

#include <csplugincommon/rendermanager/shadow_pssm.h>

List of all members.

Detailed Description

template<typename RenderTree, typename LayerConfigType>
class CS::RenderManager::ShadowPSSM< RenderTree, LayerConfigType >::ViewSetup

Shadow per-view specific data.

An instance of this class needs to be created when rendering a view and passed the light setup. Example:

 // ... basic setup ...

 // Setup shadow handler per-view data
 ShadowType::ViewSetup shadowViewSetup (
   rednerManager->lightPersistent.shadowPersist, renderView);

 // ... perform various tasks ...

 // Setup lighting for meshes
 LightSetupType lightSetup (
  renderManager->lightPersistent, renderManager->lightManager,
  context.svArrays, layerConfig, shadowViewSetup);
See also:

Definition at line 94 of file shadow_pssm.h.

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

Generated for Crystal Space 2.0 by doxygen 1.6.1