|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
A wrapper class for Vulkan Render Pass. More...
#include <VKRenderPass.hpp>
Collaboration diagram for MayaFlux::Core::VKRenderPass:Public Member Functions | |
| VKRenderPass ()=default | |
| bool | create (vk::Device device, vk::Format color_format) |
| Create a simple render pass with a single color attachment. | |
| bool | create (vk::Device device, const RenderPassCreateInfo &create_info) |
| Create a render pass with the specified creation info. | |
| void | cleanup (vk::Device device) |
| Clean up the render pass resources. | |
| vk::RenderPass | get () const |
| Get the underlying Vulkan Render Pass handle. | |
| const std::vector< AttachmentDescription > & | get_attachments () const |
| Get the attachment descriptions used in the render pass. | |
Static Public Member Functions | |
| static RenderPassCreateInfo | create_default_color_only (vk::Format color_format) |
| static RenderPassCreateInfo | create_default_color_depth (vk::Format color_format, vk::Format depth_format) |
| static RenderPassCreateInfo | create_offscreen_color (vk::Format color_format, vk::ImageLayout final_layout=vk::ImageLayout::eShaderReadOnlyOptimal) |
Private Attributes | |
| vk::RenderPass | m_render_pass = nullptr |
| std::vector< AttachmentDescription > | m_attachments |
A wrapper class for Vulkan Render Pass.
This class encapsulates the creation and management of a Vulkan Render Pass, providing an easy-to-use interface for setting up rendering operations.
Definition at line 49 of file VKRenderPass.hpp.