|
Blender V5.3
|
Classes | |
| struct | Cull |
| struct | Sort |
| struct | ZBinning |
| struct | CullingTile |
| struct | Tile |
| struct | DebugVertOut |
| struct | DebugFragOut |
| struct | NoCullCtx |
| struct | WithCullCtx |
Functions | |
| void | cull_main (Cull &srt, const draw::View &views, const draw::ViewCulling &culling, const uint3 global_id) |
| void | sort_main (Sort &srt, const uint3 global_id, const uint3 local_id) |
| void | zbin_main (ZBinning &srt, const draw::View &views, const uint3 local_id) |
| void | tile_main (const draw::View &views, Tile &srt, const uint3 global_id) |
| void | debug_vert (const int vert_id, float4 &out_position, DebugVertOut &v_out) |
| void | debug_frag (const draw::View &views, LightRenderData &lrd, const HiZ &hiz, const float4 frag_co, const DebugVertOut &v_out, DebugFragOut &frag_out) |
Variables | |
| PipelineCompute | cull (cull_main) |
| PipelineCompute | sort (sort_main) |
| PipelineCompute | zbin (zbin_main) |
| PipelineCompute | tile (tile_main) |
| PipelineGraphic | debug (debug_vert, debug_frag) |
| void eevee::light::culling::cull_main | ( | Cull & | srt, |
| const draw::View & | views, | ||
| const draw::ViewCulling & | culling, | ||
| const uint3 | global_id ) |
Definition at line 35 of file eevee_light_culling.bsl.hh.
References atomicAdd(), Sphere::center, cull_main(), dot(), ViewMatrices::forward(), global_invocation_id, index, ViewMatrices::position(), Sphere::radius, resource_table, shape_pyramid_non_oblique(), float3::x, and float3::y.
Referenced by cull_main().
| void eevee::light::culling::debug_frag | ( | const draw::View & | views, |
| LightRenderData & | lrd, | ||
| const HiZ & | hiz, | ||
| const float4 | frag_co, | ||
| const DebugVertOut & | v_out, | ||
| DebugFragOut & | frag_out ) |
Definition at line 520 of file eevee_light_culling.bsl.hh.
References debug_frag(), ViewMatrices::depth_screen_to_view(), eevee::light::foreach(), eevee::light::foreach_visible(), frag_coord, heatmap_gradient(), in, eevee::light::culling::NoCullCtx::light_bits, eevee::light::culling::WithCullCtx::light_bits, eevee::light::culling::NoCullCtx::light_count, out, P, ViewMatrices::point_screen_to_world(), resource_table, and texelFetch().
Referenced by debug_frag().
| void eevee::light::culling::debug_vert | ( | const int | vert_id, |
| float4 & | out_position, | ||
| DebugVertOut & | v_out ) |
Definition at line 470 of file eevee_light_culling.bsl.hh.
References debug_vert(), fullscreen_vertex(), out, position, and vertex_id.
Referenced by debug_vert().
Definition at line 134 of file eevee_light_culling.bsl.hh.
References barrier(), divide_ceil(), global_invocation_id, index, local_invocation_id, min, resource_table, and sort_main().
Referenced by sort_main().
| void eevee::light::culling::tile_main | ( | const draw::View & | views, |
| Tile & | srt, | ||
| const uint3 | global_id ) |
Definition at line 378 of file eevee_light_culling.bsl.hh.
References global_invocation_id, min, ViewMatrices::point_world_to_view(), resource_table, shape_box(), shape_pyramid_non_oblique(), shape_sphere(), tile, tile_main(), and uint2::y.
Referenced by tile_main().
| void eevee::light::culling::zbin_main | ( | ZBinning & | srt, |
| const draw::View & | views, | ||
| const uint3 | local_id ) |
Definition at line 208 of file eevee_light_culling.bsl.hh.
References atomicMax(), atomicMin(), barrier(), clamp(), eevee::light::culling_z_to_zbin(), divide_ceil(), dot(), ViewMatrices::forward(), index, local_invocation_id, P, ViewMatrices::position(), resource_table, z(), and zbin_main().
Referenced by zbin_main().
| PipelineCompute eevee::light::culling::cull(cull_main) | ( | cull_main | ) |
| PipelineGraphic eevee::light::culling::debug(debug_vert, debug_frag) | ( | debug_vert | , |
| debug_frag | ) |
| PipelineCompute eevee::light::culling::sort(sort_main) | ( | sort_main | ) |
| PipelineCompute eevee::light::culling::tile(tile_main) | ( | tile_main | ) |
Referenced by eevee::light::culling::CullingTile::from_corners(), and tile_main().
| PipelineCompute eevee::light::culling::zbin(zbin_main) | ( | zbin_main | ) |