CS::RenderManager::ShadowPSSM< RenderTree, LayerConfigType >::ViewSetup Class Reference (Crystal Space 2.0 Public API Reference)

| ## Public API Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

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:
  LightSetup

Definition at line 94 of file shadow_pssm.h.

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

- csplugincommon/rendermanager/shadow_pssm.h