|
Toast Engine
|


Public Member Functions | |
| MaterialPass (const VulkanCore &core, assets::Material *root_material, vk::Format color_format, vk::Format depth_format, vk::Extent2D extent) | |
| auto | name () const -> std::string_view override |
| MaterialPass (const MaterialPass &)=delete | |
| auto | operator= (const MaterialPass &) -> MaterialPass &=delete |
| MaterialPass (MaterialPass &&)=delete | |
| auto | operator= (MaterialPass &&) -> MaterialPass &=delete |
| void | update (uint32_t frame_index, float dt) override |
| void | record (vk::CommandBuffer cmd, uint32_t frame_index, uint32_t image_index) override |
| void | recordInstance (vk::CommandBuffer cmd, uint32_t frame_index, const VulkanRenderer::MeshInstanceProxy &proxy) |
| void | finishPendingBuild () |
| Render thread and blocks on a running build for frames such as probe captures. | |
| auto | rootMaterial () const -> assets::Material * |
| void | markShadersDirty () |
| Any thread and the old pipeline draws until the new one is built. | |
| void | markValuesDirty () |
| auto | isValid () const -> bool |
| auto | usesCutout () const noexcept -> bool |
| auto | isBlended () const -> bool |
| Public Member Functions inherited from IRenderPass | |
| virtual auto | stage () const -> RenderStage |
| 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 |
|
inlinenodiscardoverridevirtual |
Reimplemented from IRenderPass.
|
overridevirtual |
Implements IRenderPass.
|
overridevirtual |
Reimplemented from IRenderPass.