Blender V5.3
eevee::light::culling::CullingTile Struct Reference

#include <eevee_light_culling.bsl.hh>

Public Member Functions

bool intersect (const ViewMatrices view, Sphere sphere)
bool intersect (Box bbox)
bool intersect (Pyramid pyramid)

Static Public Member Functions

static CullingTile from_corners (bool is_persp, float3 corners[8])

Public Attributes

IsectFrustum frustum
float4 bounds

Detailed Description

2D Culling pass for lights. We iterate over all items and check if they intersect with the tile frustum. Dispatch one thread per word.

Definition at line 260 of file eevee_light_culling.bsl.hh.

Member Function Documentation

◆ from_corners()

CullingTile eevee::light::culling::CullingTile::from_corners ( bool is_persp,
float3 corners[8] )
inlinestatic

◆ intersect() [1/3]

bool eevee::light::culling::CullingTile::intersect ( Box bbox)
inline

Definition at line 295 of file eevee_light_culling.bsl.hh.

◆ intersect() [2/3]

bool eevee::light::culling::CullingTile::intersect ( const ViewMatrices view,
Sphere sphere )
inline

◆ intersect() [3/3]

bool eevee::light::culling::CullingTile::intersect ( Pyramid pyramid)
inline

Definition at line 300 of file eevee_light_culling.bsl.hh.

Member Data Documentation

◆ bounds

float4 eevee::light::culling::CullingTile::bounds

Definition at line 262 of file eevee_light_culling.bsl.hh.

◆ frustum

IsectFrustum eevee::light::culling::CullingTile::frustum

Definition at line 261 of file eevee_light_culling.bsl.hh.


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