![]() |
Blamite Game Engine - blam!
00453.06.08.26.0624.blamite
The core library for the Blamite Game Engine.
|
Runtime state for a single shadow-casting light. More...
#include <types.h>
Collaboration diagram for BlamShadowCasterState:Public Member Functions | |
| BlamShadowCasterState () | |
Public Attributes | |
| BlamWorldObject_TagLight * | light_object |
| BlamShadowCasterType | caster_type |
| bgfx::FrameBufferHandle | shadow_framebuffers [6] |
| bgfx::TextureHandle | shadow_textures [BLAM_SHADOW_CASCADE_COUNT] |
| bgfx::TextureHandle | shadow_cubemap |
| bgfx::TextureHandle | shadow_cubemap_depth |
| float | light_matrices [6][16] |
| float | cascade_splits [BLAM_SHADOW_CASCADE_COUNT] |
| float | point_far_plane |
| int | slot_index_2d |
| int | slot_index_cube |
| int | last_update_frame |
Runtime state for a single shadow-casting light.
Held in a sidecar structure rather than on the tag class so that tag data remains purely data-driven.
| BlamShadowCasterState::BlamShadowCasterState | ( | ) |
| float BlamShadowCasterState::cascade_splits[BLAM_SHADOW_CASCADE_COUNT] |
| BlamShadowCasterType BlamShadowCasterState::caster_type |
| int BlamShadowCasterState::last_update_frame |
| float BlamShadowCasterState::light_matrices[6][16] |
| BlamWorldObject_TagLight* BlamShadowCasterState::light_object |
| float BlamShadowCasterState::point_far_plane |
| bgfx::TextureHandle BlamShadowCasterState::shadow_cubemap |
| bgfx::TextureHandle BlamShadowCasterState::shadow_cubemap_depth |
| bgfx::FrameBufferHandle BlamShadowCasterState::shadow_framebuffers[6] |
| bgfx::TextureHandle BlamShadowCasterState::shadow_textures[BLAM_SHADOW_CASCADE_COUNT] |
| int BlamShadowCasterState::slot_index_2d |
| int BlamShadowCasterState::slot_index_cube |