Elaztek Developer Hub
Blamite Game Engine - blam!  00453.06.08.26.0624.blamite
The core library for the Blamite Game Engine.
BlamShadowPass Class Reference

#include <passes.h>

+ Inheritance diagram for BlamShadowPass:
+ Collaboration diagram for BlamShadowPass:

Public Member Functions

 BlamShadowPass ()
 
void _Execute (float delta) override
 
bgfx::TextureHandle GetShadowTextureArray ()
 
float * GetCascadeMatrices ()
 
float * GetCascadeSplits ()
 
float * GetCascadeSplitsPacked ()
 
int GetCascadeResolution ()
 
bgfx::TextureHandle GetSpotShadowTextureArray ()
 
float * GetSpotShadowMatrices ()
 
int GetSpotResolution ()
 
int GetSpotShadowCount ()
 
int GetSpotShadowLayerFor (class BlamWorldObject_Tag *spot_object)
 
bgfx::TextureHandle GetPointShadowCube (int index)
 
float * GetPointShadowData ()
 
int GetPointResolution ()
 
int GetPointShadowCount ()
 
int GetPointShadowLayerFor (class BlamWorldObject_Tag *point_object)
 
- Public Member Functions inherited from BlamRenderPass
 BlamRenderPass (std::string _id)
 
void Execute (float delta)
 
std::string GetID ()
 
bgfx::ViewId GetViewID ()
 
float GetExecutionTime ()
 
std::map< std::string, float > GetPerformanceStats ()
 
virtual void RecreateBuffers (BlamVector2 size)
 

Additional Inherited Members

- Public Attributes inherited from BlamRenderPass
bool enabled = true
 
bool has_multiple_views = false
 
int view_id_count = 1
 
- Protected Member Functions inherited from BlamRenderPass
void WritePerformanceStat (std::string key)
 
void WritePerformanceStat (std::string key, float value)
 
void IncrementPerformanceStat (std::string key, float value)
 

Detailed Description

Todo:
warn on instance buffer exhaustion

Constructor & Destructor Documentation

◆ BlamShadowPass()

BlamShadowPass::BlamShadowPass ( )
+ Here is the call graph for this function:

Member Function Documentation

◆ _Execute()

void BlamShadowPass::_Execute ( float  delta)
overridevirtual

Reimplemented from BlamRenderPass.

+ Here is the call graph for this function:

◆ GetCascadeMatrices()

float * BlamShadowPass::GetCascadeMatrices ( )
+ Here is the caller graph for this function:

◆ GetCascadeResolution()

int BlamShadowPass::GetCascadeResolution ( )
+ Here is the caller graph for this function:

◆ GetCascadeSplits()

float * BlamShadowPass::GetCascadeSplits ( )

◆ GetCascadeSplitsPacked()

float * BlamShadowPass::GetCascadeSplitsPacked ( )
+ Here is the caller graph for this function:

◆ GetPointResolution()

int BlamShadowPass::GetPointResolution ( )
+ Here is the caller graph for this function:

◆ GetPointShadowCount()

int BlamShadowPass::GetPointShadowCount ( )

◆ GetPointShadowCube()

bgfx::TextureHandle BlamShadowPass::GetPointShadowCube ( int  index)
+ Here is the caller graph for this function:

◆ GetPointShadowData()

float * BlamShadowPass::GetPointShadowData ( )
+ Here is the caller graph for this function:

◆ GetPointShadowLayerFor()

int BlamShadowPass::GetPointShadowLayerFor ( class BlamWorldObject_Tag point_object)
+ Here is the caller graph for this function:

◆ GetShadowTextureArray()

bgfx::TextureHandle BlamShadowPass::GetShadowTextureArray ( )
+ Here is the caller graph for this function:

◆ GetSpotResolution()

int BlamShadowPass::GetSpotResolution ( )
+ Here is the caller graph for this function:

◆ GetSpotShadowCount()

int BlamShadowPass::GetSpotShadowCount ( )

◆ GetSpotShadowLayerFor()

int BlamShadowPass::GetSpotShadowLayerFor ( class BlamWorldObject_Tag spot_object)
+ Here is the caller graph for this function:

◆ GetSpotShadowMatrices()

float * BlamShadowPass::GetSpotShadowMatrices ( )
+ Here is the caller graph for this function:

◆ GetSpotShadowTextureArray()

bgfx::TextureHandle BlamShadowPass::GetSpotShadowTextureArray ( )
+ Here is the caller graph for this function:

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