Blender V5.0
blender::eevee::LightCullingData Struct Reference

#include <eevee_light_shared.hh>

Inherited by blender::draw::StorageBuffer< LightCullingData >.

Public Attributes

float2 tile_to_uv_fac
float zbin_scale
float zbin_bias
uint items_count
uint local_lights_len
uint sun_lights_len
uint visible_count
float tile_size
uint tile_x_len
uint tile_y_len
uint tile_word_len
bool32_t view_is_flipped
uint _pad0
uint _pad1
uint _pad2

Detailed Description

Definition at line 487 of file eevee_light_shared.hh.

Member Data Documentation

◆ _pad0

uint blender::eevee::LightCullingData::_pad0

Definition at line 510 of file eevee_light_shared.hh.

◆ _pad1

uint blender::eevee::LightCullingData::_pad1

Definition at line 511 of file eevee_light_shared.hh.

◆ _pad2

uint blender::eevee::LightCullingData::_pad2

Definition at line 512 of file eevee_light_shared.hh.

◆ items_count

uint blender::eevee::LightCullingData::items_count

Valid item count in the source data array.

Definition at line 494 of file eevee_light_shared.hh.

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

◆ local_lights_len

uint blender::eevee::LightCullingData::local_lights_len

Items that are processed by the 2.5D culling.

Definition at line 496 of file eevee_light_shared.hh.

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

◆ sun_lights_len

uint blender::eevee::LightCullingData::sun_lights_len

Items that are NOT processed by the 2.5D culling (i.e: Sun Lights).

Definition at line 498 of file eevee_light_shared.hh.

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

◆ tile_size

float blender::eevee::LightCullingData::tile_size

Extent of one square tile in pixels.

Definition at line 502 of file eevee_light_shared.hh.

◆ tile_to_uv_fac

float2 blender::eevee::LightCullingData::tile_to_uv_fac

Scale applied to tile pixel coordinates to get target UV coordinate.

Definition at line 489 of file eevee_light_shared.hh.

◆ tile_word_len

uint blender::eevee::LightCullingData::tile_word_len

Number of word per tile. Depends on the maximum number of lights.

Definition at line 507 of file eevee_light_shared.hh.

◆ tile_x_len

uint blender::eevee::LightCullingData::tile_x_len

Number of tiles on the X/Y axis.

Definition at line 504 of file eevee_light_shared.hh.

◆ tile_y_len

uint blender::eevee::LightCullingData::tile_y_len

Definition at line 505 of file eevee_light_shared.hh.

◆ view_is_flipped

bool32_t blender::eevee::LightCullingData::view_is_flipped

Is the view being processed by light culling flipped (true for light probe planes).

Definition at line 509 of file eevee_light_shared.hh.

◆ visible_count

uint blender::eevee::LightCullingData::visible_count

Number of items that passes the first culling test. (local lights only)

Definition at line 500 of file eevee_light_shared.hh.

◆ zbin_bias

float blender::eevee::LightCullingData::zbin_bias

Definition at line 492 of file eevee_light_shared.hh.

◆ zbin_scale

float blender::eevee::LightCullingData::zbin_scale

Scale and bias applied to linear Z to get zbin.

Definition at line 491 of file eevee_light_shared.hh.


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