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

Public Member Functions

 EnvironmentPass (const VulkanCore &core, vk::Format hdr_format, vk::Format depth_format)
auto name () const -> std::string_view override
void recordPre (vk::CommandBuffer cmd, uint32_t frame_index, uint32_t image_index) override
 Records outside any rendering scope before the main scope opens.
void record (vk::CommandBuffer cmd, uint32_t frame_index, uint32_t image_index) override
auto stage () const -> RenderStage override
auto getIrradianceView () const -> vk::ImageView
auto getPrefilteredView () const -> vk::ImageView
auto getSampler () const -> vk::Sampler
auto getPrefilteredMipCount () const noexcept -> uint32_t
auto isReady () const noexcept -> bool
auto getSkyIntensity () const noexcept -> float
void setSkyIntensity (float intensity) noexcept
auto setEnvironmentMap (std::string_view uri) -> bool
auto getEnvironmentMapUri () const -> const std::string &
Public Member Functions inherited from IRenderPass
virtual void update (uint32_t frame_index, float dt)
void setEnabled (bool enabled) noexcept
auto isEnabled () const noexcept -> bool

Member Function Documentation

◆ name()

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

Reimplemented from IRenderPass.

◆ record()

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

Implements IRenderPass.

◆ recordPre()

void renderer::EnvironmentPass::recordPre ( vk::CommandBuffer cmd,
uint32_t frame_index,
uint32_t image_index )
overridevirtual

Records outside any rendering scope before the main scope opens.

Reimplemented from IRenderPass.

Here is the caller graph for this function:

◆ stage()

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

Reimplemented from IRenderPass.


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