KDGpu::RenderPassCommandRecorderWithRenderPassOptions¶
Module: Public API
Render pass options using explicit VkRenderPass objects (legacy approach) More...
#include <KDGpu/render_pass_command_recorder_options.h>
Public Attributes¶
| Name | |
|---|---|
| RequiredHandle< RenderPass_t > | renderPass Pre-created RenderPass defining attachments and subpasses. |
| std::vector< Attachment > | attachments Attachments to bind to the render pass. |
| SampleCountFlagBits | samples MSAA sample count. |
| uint32_t | viewCount Number of views for multiview. |
| uint32_t | framebufferWidth Framebuffer width. |
| uint32_t | framebufferHeight Framebuffer height. |
| uint32_t | framebufferArrayLayers Framebuffer array layers. |
Detailed Description¶
1 | |
Render pass options using explicit VkRenderPass objects (legacy approach)
Deprecated:
Use RenderPassCommandRecorderWithDynamicRenderingOptions for new code
See: RenderPassCommandRecorderWithDynamicRenderingOptions, RenderPass
Note: VkRenderPass and subpasses were deprecated in Vulkan 1.3 in favor of dynamic rendering (VK_KHR_dynamic_rendering, now core). For new applications, prefer RenderPassCommandRecorderWithDynamicRenderingOptions which offers more flexibility and simpler API usage.
This option requires a pre-created RenderPass object with subpass dependencies. The VkRenderPass/VkFramebuffer model has been superseded by dynamic rendering in Vulkan 1.3.
In Vulkan terms, this maps to vkCmdBeginRenderPass() with a VkRenderPass and VkFramebuffer.
Public Attributes Documentation¶
variable renderPass¶
1 | |
Pre-created RenderPass defining attachments and subpasses.
variable attachments¶
1 | |
Attachments to bind to the render pass.
variable samples¶
1 | |
MSAA sample count.
variable viewCount¶
1 | |
Number of views for multiview.
variable framebufferWidth¶
1 | |
Framebuffer width.
variable framebufferHeight¶
1 | |
Framebuffer height.
variable framebufferArrayLayers¶
1 | |
Framebuffer array layers.
Updated on 2026-03-31 at 00:02:06 +0000