Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
ShadowMapInternals Struct Reference

Struct ShadowMapInternals: Internal data for the ShadowMap implementation. More...

Collaboration diagram for ShadowMapInternals:

Classes

struct  Cascade
 

Public Member Functions

void CalculateShadowMatrices (const int cascade)
 
void CreateTexture ()
 
void UpdateCascadesParameters ()
 

Public Attributes

Renderer::Backend::IDeviceDevice = nullptr
 
std::unique_ptr< Renderer::Backend::IFramebufferFramebuffer
 
std::unique_ptr< Renderer::Backend::ITextureTexture
 
int DepthTextureBits
 
int Width
 
int Height
 
int QualityLevel
 
int EffectiveWidth
 
int EffectiveHeight
 
CMatrix3D LightTransform
 
CMatrix3D InvLightTransform
 
CBoundingBoxAligned ShadowReceiverBound
 
int CascadeCount
 
float CascadeDistanceRatio
 
float ShadowsCutoffDistance
 
bool ShadowsCoverMap
 
std::array< Cascade, MAX_CASCADE_COUNT > Cascades
 
CCamera LightspaceCamera
 
std::unique_ptr< Renderer::Backend::ITextureDummyTexture
 
CCamera SavedViewCamera
 

Detailed Description

Struct ShadowMapInternals: Internal data for the ShadowMap implementation.

Member Function Documentation

◆ CalculateShadowMatrices()

void ShadowMapInternals::CalculateShadowMatrices ( const int  cascade)

◆ CreateTexture()

void ShadowMapInternals::CreateTexture ( )

◆ UpdateCascadesParameters()

void ShadowMapInternals::UpdateCascadesParameters ( )

Member Data Documentation

◆ CascadeCount

int ShadowMapInternals::CascadeCount

◆ CascadeDistanceRatio

float ShadowMapInternals::CascadeDistanceRatio

◆ Cascades

std::array<Cascade, MAX_CASCADE_COUNT> ShadowMapInternals::Cascades

◆ DepthTextureBits

int ShadowMapInternals::DepthTextureBits

◆ Device

Renderer::Backend::IDevice* ShadowMapInternals::Device = nullptr

◆ DummyTexture

std::unique_ptr<Renderer::Backend::ITexture> ShadowMapInternals::DummyTexture

◆ EffectiveHeight

int ShadowMapInternals::EffectiveHeight

◆ EffectiveWidth

int ShadowMapInternals::EffectiveWidth

◆ Framebuffer

std::unique_ptr<Renderer::Backend::IFramebuffer> ShadowMapInternals::Framebuffer

◆ Height

int ShadowMapInternals::Height

◆ InvLightTransform

CMatrix3D ShadowMapInternals::InvLightTransform

◆ LightspaceCamera

CCamera ShadowMapInternals::LightspaceCamera

◆ LightTransform

CMatrix3D ShadowMapInternals::LightTransform

◆ QualityLevel

int ShadowMapInternals::QualityLevel

◆ SavedViewCamera

CCamera ShadowMapInternals::SavedViewCamera

◆ ShadowReceiverBound

CBoundingBoxAligned ShadowMapInternals::ShadowReceiverBound

◆ ShadowsCoverMap

bool ShadowMapInternals::ShadowsCoverMap

◆ ShadowsCutoffDistance

float ShadowMapInternals::ShadowsCutoffDistance

◆ Texture

std::unique_ptr<Renderer::Backend::ITexture> ShadowMapInternals::Texture

◆ Width

int ShadowMapInternals::Width

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