|
Blender V5.0
|
#include <eevee_shadow_shared.hh>
Inherited by blender::eevee::ShadowTileMap.
Small descriptor used for the tile update phase. Updated by CPU & uploaded to GPU each redraw.
Definition at line 55 of file eevee_shadow_shared.hh.
| float blender::eevee::ShadowTileMapData::_pad2 |
Definition at line 78 of file eevee_shadow_shared.hh.
| uint2 blender::eevee::ShadowTileMapData::_pad3 |
Definition at line 88 of file eevee_shadow_shared.hh.
| float2 blender::eevee::ShadowTileMapData::center_offset |
Offset in local space to the tilemap center in world units. Used for directional winmat.
Definition at line 85 of file eevee_shadow_shared.hh.
Referenced by blender::eevee::ShadowTileMap::sync_cubeface(), and blender::eevee::ShadowTileMap::sync_orthographic().
| int blender::eevee::ShadowTileMapData::clip_data_index |
Index of persistent data in the persistent data buffer.
Definition at line 71 of file eevee_shadow_shared.hh.
Referenced by blender::eevee::ShadowTileMapPool::end_sync(), blender::eevee::ShadowTileMap::ShadowTileMap(), blender::draw::test_eevee_shadow_finalize(), and blender::draw::test_eevee_shadow_shift().
| float blender::eevee::ShadowTileMapData::clip_far |
Definition at line 81 of file eevee_shadow_shared.hh.
Referenced by blender::eevee::ShadowTileMap::sync_cubeface(), and blender::draw::test_eevee_shadow_finalize().
| float blender::eevee::ShadowTileMapData::clip_near |
Near and far clip distances for punctual.
Definition at line 80 of file eevee_shadow_shared.hh.
Referenced by blender::eevee::ShadowTileMap::sync_cubeface(), and blender::draw::test_eevee_shadow_finalize().
| float4 blender::eevee::ShadowTileMapData::corners[4] |
Punctual : Corners of the frustum. (float3 padded to float4)
Definition at line 61 of file eevee_shadow_shared.hh.
Referenced by blender::eevee::ShadowTileMap::sync_cubeface().
| int blender::eevee::ShadowTileMapData::effective_lod_min |
Effective minimum resolution after update throttle.
Definition at line 77 of file eevee_shadow_shared.hh.
| int2 blender::eevee::ShadowTileMapData::grid_offset |
Integer offset of the center of the 16x16 tiles from the origin of the tile space.
Definition at line 63 of file eevee_shadow_shared.hh.
Referenced by blender::eevee::ShadowTileMap::ShadowTileMap(), blender::eevee::ShadowTileMap::sync_cubeface(), and blender::eevee::ShadowTileMap::sync_orthographic().
| int2 blender::eevee::ShadowTileMapData::grid_shift |
Shift between previous and current grid_offset. Allows update tagging.
Definition at line 65 of file eevee_shadow_shared.hh.
Referenced by blender::eevee::ShadowTileMapPool::end_sync(), blender::eevee::ShadowTileMap::ShadowTileMap(), blender::eevee::ShadowTileMap::sync_orthographic(), blender::draw::test_eevee_shadow_shift(), and blender::draw::test_eevee_shadow_shift_clear().
| float blender::eevee::ShadowTileMapData::half_size |
Half of the tilemap size in world units. Used to compute window matrix.
Definition at line 83 of file eevee_shadow_shared.hh.
Referenced by blender::eevee::ShadowTileMap::sync_cubeface(), blender::eevee::ShadowTileMap::sync_orthographic(), and blender::draw::test_eevee_shadow_finalize().
| bool32_t blender::eevee::ShadowTileMapData::is_dirty |
Entire tilemap (all tiles) needs to be tagged as dirty.
Definition at line 75 of file eevee_shadow_shared.hh.
Referenced by blender::eevee::ShadowTileMap::set_dirty(), and blender::eevee::ShadowTileMap::set_updated().
| eLightType blender::eevee::ShadowTileMapData::light_type |
Light type this tilemap is from.
Definition at line 73 of file eevee_shadow_shared.hh.
Referenced by blender::eevee::ShadowTileMap::sync_cubeface(), and blender::eevee::ShadowTileMap::sync_orthographic().
| eShadowProjectionType blender::eevee::ShadowTileMapData::projection_type |
True for punctual lights.
Definition at line 67 of file eevee_shadow_shared.hh.
Referenced by blender::eevee::ShadowTileMap::debug_draw(), blender::eevee::ShadowTileMapPool::end_sync(), blender::eevee::ShadowTileMap::sync_cubeface(), blender::eevee::ShadowTileMap::sync_orthographic(), blender::draw::test_eevee_shadow_finalize(), blender::draw::test_eevee_shadow_shift(), and blender::draw::test_eevee_shadow_shift_clear().
| uint2 blender::eevee::ShadowTileMapData::shadow_set_membership |
Shadow set bitmask of the light using this tilemap.
Definition at line 87 of file eevee_shadow_shared.hh.
Referenced by blender::eevee::ShadowTileMap::sync_cubeface(), and blender::eevee::ShadowTileMap::sync_orthographic().
| int blender::eevee::ShadowTileMapData::tiles_index |
Multiple of SHADOW_TILEDATA_PER_TILEMAP. Offset inside the tile buffer.
Definition at line 69 of file eevee_shadow_shared.hh.
Referenced by blender::eevee::ShadowTileMapPool::end_sync(), blender::eevee::ShadowTileMap::ShadowTileMap(), blender::draw::test_eevee_shadow_finalize(), blender::draw::test_eevee_shadow_free(), blender::draw::test_eevee_shadow_shift(), blender::draw::test_eevee_shadow_shift_clear(), and blender::draw::TestAlloc::TestAlloc().
| float4x4 blender::eevee::ShadowTileMapData::viewmat |
Cached, used for rendering.
Definition at line 57 of file eevee_shadow_shared.hh.
Referenced by blender::eevee::ShadowTileMap::debug_draw(), blender::eevee::ShadowTileMap::sync_cubeface(), blender::eevee::ShadowTileMap::sync_orthographic(), and blender::draw::test_eevee_shadow_finalize().
| float4x4 blender::eevee::ShadowTileMapData::winmat |
Precomputed matrix, not used for rendering but for tagging.
Definition at line 59 of file eevee_shadow_shared.hh.
Referenced by blender::eevee::ShadowTileMap::debug_draw(), blender::eevee::ShadowTileMap::sync_cubeface(), and blender::eevee::ShadowTileMap::sync_orthographic().