KDGpu::RenderPassCommandRecorderOptions¶
Module: Public API
Legacy render pass options (deprecated in favor of dynamic rendering) More...
#include <KDGpu/render_pass_command_recorder_options.h>
Public Attributes¶
| Name | |
|---|---|
| std::vector< ColorAttachment > | colorAttachments Color render targets. |
| DepthStencilAttachment | depthStencilAttachment Depth/stencil target. |
| SampleCountFlagBits | samples Sample count for MSAA. |
| uint32_t | viewCount Number of views for multiview rendering (e.g., 2 for VR stereo) |
| uint32_t | framebufferWidth Framebuffer width (0 = infer from first attachment) |
| uint32_t | framebufferHeight Framebuffer height (0 = infer from first attachment) |
| uint32_t | framebufferArrayLayers Array layers (0 = infer from first attachment) |
Detailed Description¶
1 | |
Legacy render pass options (deprecated in favor of dynamic rendering)
Deprecated:
Use RenderPassCommandRecorderWithDynamicRenderingOptions for new code
See: RenderPassCommandRecorderWithDynamicRenderingOptions
This struct is maintained for compatibility but RenderPassCommandRecorderWithDynamicRenderingOptions is preferred for new code on desktop platforms. It uses dynamic rendering which was promoted to Vulkan 1.3 core.
Public Attributes Documentation¶
variable colorAttachments¶
1 | |
Color render targets.
variable depthStencilAttachment¶
1 | |
Depth/stencil target.
variable samples¶
1 | |
Sample count for MSAA.
variable viewCount¶
1 | |
Number of views for multiview rendering (e.g., 2 for VR stereo)
variable framebufferWidth¶
1 | |
Framebuffer width (0 = infer from first attachment)
variable framebufferHeight¶
1 | |
Framebuffer height (0 = infer from first attachment)
variable framebufferArrayLayers¶
1 | |
Array layers (0 = infer from first attachment)
Updated on 2026-03-31 at 00:02:06 +0000