|
Toast Engine
|


Classes | |
| struct | GridStats |
Public Member Functions | |
| ClusterLightingPass (const renderer::VulkanCore &core) | |
| void | update (uint32_t frame_index, float dt) override |
| void | dispatch (vk::CommandBuffer cmd, uint32_t frame_index) override |
| auto | getClusterParamsBuffer (uint32_t frame_index) const -> vk::Buffer |
| auto | getLightsBuffer (uint32_t frame_index) const -> vk::Buffer |
| auto | getClusterLightGridBuffer (uint32_t frame_index) const -> vk::Buffer |
| auto | getLightIndexListBuffer (uint32_t frame_index) const -> vk::Buffer |
| void | requestGridReadback () const noexcept |
| The grid is only copied back for a few frames after each call. | |
| auto | getClusterLightGridCounts (uint32_t frame_index) const -> std::span< const uint32_t > |
| Unclamped counts and empty until a copy for this frame slot has landed. | |
Static Public Member Functions | |
| static auto | summarizeGrid (std::span< const uint32_t > counts) -> GridStats |
|
overridevirtual |
Implements IComputePass.
|
overridevirtual |
Reimplemented from IComputePass.