Class VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM>
org.lwjgl.vulkan.VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM extends org.lwjgl.system.Struct<VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM> implements org.lwjgl.system.NativeResource
Set the multiview per view render areas for a render pass instance.
Description

If perViewRenderAreaCount is not zero, then the elements of pPerViewRenderAreas override the value of VkRenderPassBeginInfo::renderArea or VkRenderingInfo::renderArea and define per-view render areas for the individual views of a multiview render pass. The render area for the view with view index i is specified by pPerViewRenderAreas[i].

The per-view render areas define per-view regions of attachments that are loaded, stored, and resolved according to the loadOp, storeOp, and resolveMode values of the render pass instance. When per-view render areas are defined, the value of VkRenderPassBeginInfo::renderArea or VkRenderingInfo::renderArea must be a render area that includes the union of all per-view render areas, may be used by the implementation for optimizations, but does not affect loads, stores, or resolves.

If this structure is present and if perViewRenderAreaCount is not zero, then perViewRenderAreaCount must be at least one greater than the most significant bit set in any element of VkRenderPassMultiviewCreateInfo::pViewMasks. or VkRenderingInfo::viewMask

If this structure is not present or if perViewRenderAreaCount is zero, VkRenderPassBeginInfo::renderArea or VkRenderingInfo::renderArea is used for all views.

Valid Usage
  • The offset.x member of any element of pPerViewRenderAreas must be greater than or equal to 0
  • The offset.y member of any element of pPerViewRenderAreas must be greater than or equal to 0
  • The sum of the offset.x and extent.width members of any element of pPerViewRenderAreas must be less than or equal to maxFramebufferWidth
  • The sum of the offset.y and extent.height members of any element of pPerViewRenderAreas must be less than or equal to maxFramebufferHeight
  • If this structure is in the pNext chain of VkRenderPassBeginInfo and if the render pass object included an element in VkRenderPassMultiviewCreateInfo::pViewMasks that set bit n, then perViewRenderAreaCount must be at least equal to n+1
  • If this structure is in the pNext chain of VkRenderingInfo and if VkRenderingInfo::viewMask set bit n, then perViewRenderAreaCount must be at least equal to n+1
Valid Usage (Implicit)
See Also

VkRect2D

Layout


 struct VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM {
     VkStructureType sType();
     void const * pNext();
     uint32_t perViewRenderAreaCount();
     VkRect2D const * pPerViewRenderAreas();
 }