tp::RenderPassSetup struct

Used as configuration for executing a render pass.

Constructors, destructors, conversion operators

RenderPassSetup(DepthStencilAttachment depthStencilAttachment, ArrayView<const ColorAttachment> colorAttachments, ArrayView<const BufferRenderAccess> bufferAccesses, ArrayView<const ImageRenderAccess> imageAccesses, Rect2D renderArea, uint32_t layerCount = 1, uint32_t viewMask = 0, const VkRenderingInfoExtMap* vkRenderingInfoExtMap = nullptr)
RenderPassSetup(DepthStencilAttachment depthStencilAttachment, ArrayView<const ColorAttachment> colorAttachments, ArrayView<const BufferRenderAccess> bufferAccesses, ArrayView<const ImageRenderAccess> imageAccesses, uint32_t layerCount = 1, uint32_t viewMask = 0, const VkRenderingInfoExtMap* vkRenderingInfoExtMap = nullptr)
Constructs the tp::RenderPassSetup with a default render area that covers the minimum of all attachment sizes.

Function documentation

tp::RenderPassSetup::RenderPassSetup(DepthStencilAttachment depthStencilAttachment, ArrayView<const ColorAttachment> colorAttachments, ArrayView<const BufferRenderAccess> bufferAccesses, ArrayView<const ImageRenderAccess> imageAccesses, Rect2D renderArea, uint32_t layerCount = 1, uint32_t viewMask = 0, const VkRenderingInfoExtMap* vkRenderingInfoExtMap = nullptr)

Parameters
depthStencilAttachment The attachment for depth and / or stencil image.
colorAttachments The color attachments for rendered output.
bufferAccesses The buffer accesses that will be made within the render pass.
imageAccesses The additional non-attachment image accesses that will be made within the render pass.
renderArea The image area that may be rendered to, applied to all layers.
layerCount The number of layers that may be rendered to when viewMask is 0.
viewMask The indices of attachment layers that will be rendered into when it is not 0.
vkRenderingInfoExtMap The pointer to a map of additional Vulkan structures to be passed in pNext of VkRenderingInfo.

tp::RenderPassSetup::RenderPassSetup(DepthStencilAttachment depthStencilAttachment, ArrayView<const ColorAttachment> colorAttachments, ArrayView<const BufferRenderAccess> bufferAccesses, ArrayView<const ImageRenderAccess> imageAccesses, uint32_t layerCount = 1, uint32_t viewMask = 0, const VkRenderingInfoExtMap* vkRenderingInfoExtMap = nullptr)

Constructs the tp::RenderPassSetup with a default render area that covers the minimum of all attachment sizes.

Parameters
depthStencilAttachment The attachment for depth and / or stencil image.
colorAttachments The color attachments for rendered output.
bufferAccesses The buffer accesses that will be made within the render pass.
imageAccesses The additional non-attachment image accesses that will be made within the render pass.
layerCount The number of layers that may be rendered to when viewMask is 0.
viewMask The indices of attachment layers that will be rendered into when it is not 0.
vkRenderingInfoExtMap The pointer to a map of additional Vulkan structures to be passed in pNext of VkRenderingInfo.