XLE  v0.02.0
Public Types | Public Member Functions | Public Attributes | List of all members
SceneEngine::PreparedShadowFrustum Class Reference

Contains the result of a shadow prepare operation More...

#include <LightInternal.h>

Inheritance diagram for SceneEngine::PreparedShadowFrustum:
Inheritance graph
[legend]

Public Types

typedef RenderCore::Metal::ShaderResourceView SRV
 
typedef RenderCore::Metal::ConstantBuffer CB
 

Public Member Functions

void InitialiseConstants (RenderCore::Metal::DeviceContext *devContext, const MultiProjection< MaxShadowTexturesPerLight > &)
 
 PreparedShadowFrustum (PreparedShadowFrustum &&moveFrom) never_throws
 
PreparedShadowFrustumoperator= (PreparedShadowFrustum &&moveFrom) never_throws
 

Public Attributes

CB _arbitraryCB
 
CB _orthoCB
 
unsigned _frustumCount
 
bool _enableNearCascade
 
ShadowProjectionDesc::Projections::Mode::Enum _mode
 
CB_ArbitraryShadowProjection _arbitraryCBSource
 
CB_OrthoShadowProjection _orthoCBSource
 

Detailed Description

Contains the result of a shadow prepare operation

Typically shadows are prepared as one of the first steps of while rendering a frame. (though, I guess, the prepare step could happen at any time). We need to retain the shader constants and render target outputs from that preparation, to use later while resolving the lighting of the main scene.


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