Blender V4.3
blender::eevee::ShadowSamplingTile Struct Reference

#include <eevee_shader_shared.hh>

Public Attributes

uint3 page
 
uint lod
 
uint2 lod_offset
 
bool is_valid
 

Detailed Description

Decoded tile data structure. Similar to ShadowTileData, this one is only used for rendering and packed into tilemap_tx. This allow to reuse some bits for other purpose.

Definition at line 1522 of file eevee_shader_shared.hh.

Member Data Documentation

◆ is_valid

bool blender::eevee::ShadowSamplingTile::is_valid

If the tile is needed for rendering.

Definition at line 1530 of file eevee_shader_shared.hh.

Referenced by blender::draw::test_eevee_shadow_tile_packing().

◆ lod

uint blender::eevee::ShadowSamplingTile::lod

LOD pointed by LOD 0 tile page.

Definition at line 1526 of file eevee_shader_shared.hh.

Referenced by blender::draw::test_eevee_shadow_tile_packing().

◆ lod_offset

uint2 blender::eevee::ShadowSamplingTile::lod_offset

Offset to the texel position to align with the LOD page start. (directional only).

Definition at line 1528 of file eevee_shader_shared.hh.

Referenced by blender::draw::test_eevee_shadow_tile_packing().

◆ page

uint3 blender::eevee::ShadowSamplingTile::page

Page inside the virtual shadow map atlas.

Definition at line 1524 of file eevee_shader_shared.hh.

Referenced by blender::draw::test_eevee_shadow_tile_packing().


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