Toast Engine
Loading...
Searching...
No Matches
renderer::DebugPass Class Reference
Inheritance diagram for renderer::DebugPass:
Collaboration diagram for renderer::DebugPass:

Public Member Functions

 DebugPass (const renderer::VulkanCore &core, vk::Format color_format, vk::Format depth_format, vk::Extent2D extent, const ClusterLightingPass *cluster_lighting_pass=nullptr)
auto stage () const -> RenderStage override
void record (vk::CommandBuffer cmd, uint32_t frame_index, uint32_t image_index) override
void update (uint32_t frame_index, float dt) override
void setEditorPanelsEnabled (bool enabled) noexcept
auto name () const -> std::string_view override
Public Member Functions inherited from IRenderPass
virtual void recordPre (vk::CommandBuffer cmd, uint32_t frame_index, uint32_t image_index)
 Records outside any rendering scope before the main scope opens.
void setEnabled (bool enabled) noexcept
auto isEnabled () const noexcept -> bool

Member Function Documentation

◆ name()

auto renderer::DebugPass::name ( ) const -> std::string_view
inlinenodiscardoverridevirtual

Reimplemented from IRenderPass.

◆ record()

void renderer::DebugPass::record ( vk::CommandBuffer cmd,
uint32_t frame_index,
uint32_t image_index )
overridevirtual

Implements IRenderPass.

◆ stage()

auto renderer::DebugPass::stage ( ) const -> RenderStage
inlinenodiscardoverridevirtual

Reimplemented from IRenderPass.

◆ update()

void renderer::DebugPass::update ( uint32_t frame_index,
float dt )
overridevirtual

Reimplemented from IRenderPass.


The documentation for this class was generated from the following files: