|
Toast Engine
|


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 |
|
inlinenodiscardoverridevirtual |
Reimplemented from IRenderPass.
|
overridevirtual |
Implements IRenderPass.
|
overridevirtual |
Records outside any rendering scope before the main scope opens.
Reimplemented from IRenderPass.

|
inlinenodiscardoverridevirtual |
Reimplemented from IRenderPass.