VkAttachmentSampleCountInfoAMD - Structure specifying command buffer inheritance info for dynamic render pass instances
Description
If
CommandBufferInheritanceInfo::renderPass
is NULL_HANDLE,
COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT
is specified in
CommandBufferBeginInfo::flags, and the
pNext chain of
CommandBufferInheritanceInfo includes
AttachmentSampleCountInfoAMD, then this structure defines the sample
counts of each attachment within the render pass instance. If
AttachmentSampleCountInfoAMD is not included, the value of
CommandBufferInheritanceRenderingInfo::rasterizationSamples
is used as the sample count for each attachment. If
CommandBufferInheritanceInfo::renderPass
is not NULL_HANDLE, or
COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT
is not specified in
CommandBufferBeginInfo::flags,
parameters of this structure are ignored.
AttachmentSampleCountInfoAMD can also be included in the pNext
chain of GraphicsPipelineCreateInfo.
When a graphics pipeline is created without a
RenderPass, if this structure is included in the
pNext chain of
GraphicsPipelineCreateInfo, it
specifies the sample count of attachments used for rendering. If this
structure is not specified, and the pipeline does not include a
RenderPass, the value of
PipelineMultisampleStateCreateInfo::rasterizationSamples
is used as the sample count for each attachment. If a graphics pipeline
is created with a valid RenderPass, parameters
of this structure are ignored.
Structure Chaining
See Also
VK_AMD_mixed_attachment_samples, VK_KHR_dynamic_rendering, VK_NV_framebuffer_mixed_samples, VK_VERSION_1_3, SampleCountFlagBits, StructureType
Constructors
AttachmentSampleCountInfoAMDcolorAttachmentSamples :: Vector SampleCountFlagBitspColorAttachmentSamplesis a pointer to an array of SampleCountFlagBits values defining the sample count of color attachments.depthStencilAttachmentSamples :: SampleCountFlagBitsdepthStencilAttachmentSamplesis a SampleCountFlagBits value defining the sample count of a depth/stencil attachment.
Instances4Show, FromCStruct, ToCStruct, Zero
Show AttachmentSampleCountInfoAMDDefined in vulkan-3.27 · Vulkan.Extensions.VK_AMD_mixed_attachment_samplesFromCStruct AttachmentSampleCountInfoAMDDefined in vulkan-3.27 · Vulkan.Extensions.VK_AMD_mixed_attachment_samplesToCStruct AttachmentSampleCountInfoAMDDefined in vulkan-3.27 · Vulkan.Extensions.VK_AMD_mixed_attachment_samplesZero AttachmentSampleCountInfoAMDDefined in vulkan-3.27 · Vulkan.Extensions.VK_AMD_mixed_attachment_samples