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 set to 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 least one greater than the most significant bit set in any 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.
offset.x member of any element of pPerViewRenderAreas must be greater than or equal to 0offset.y member of any element of pPerViewRenderAreas must be greater than or equal to 0offset.x and extent.width members of any element of pPerViewRenderAreas must be less than or equal to maxFramebufferWidthoffset.y and extent.height members of any element of pPerViewRenderAreas must be less than or equal to maxFramebufferHeightpNext 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.pNext chain of VkRenderingInfo and if VkRenderingInfo::viewMask set bit n, then perViewRenderAreaCount must be at least equal to n+1.sType must be STRUCTURE_TYPE_MULTIVIEW_PER_VIEW_RENDER_AREAS_RENDER_PASS_BEGIN_INFO_QCOMperViewRenderAreaCount is not 0, pPerViewRenderAreas must be a valid pointer to an array of perViewRenderAreaCount VkRect2D structures
struct VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM {
VkStructureType sType;
void const * pNext;
uint32_t perViewRenderAreaCount;
VkRect2D const * pPerViewRenderAreas;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | PERVIEWRENDERAREACOUNT
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | PPERVIEWRENDERAREAS
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM | |
| public static VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM | create()
Returns a new |
| public static VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM | create(long address)
Returns a new |
| public static VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM. | create(int
the buffer capacity capacity)Returns a new |
| public static VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM | |
| public static VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM. | |
| public static VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM | |
| public static VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static int | |
| public static void | nperViewRenderAreaCount(long struct, int value)
Sets the specified value to the |
| public static long | |
| public static void | |
| public static VkRect2D. | |
| public static void | |
| public static int | |
| public static void | |
| public int | |
| public long | |
| public VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM | |
| public VkRect2D. | pPerViewRenderAreas()
a pointer to an array of |
| public VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM | pPerViewRenderAreas(VkRect2D.
Sets the address of the specified |
| public VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM | |
| public VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM | |
| public VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM | sType$Default()
Sets the |
| public static void |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| PERVIEWRENDERAREACOUNT | back to summary |
|---|---|
| public static final int PERVIEWRENDERAREACOUNT The struct member offsets. | |
| PNEXT | back to summary |
|---|---|
| public static final int PNEXT The struct member offsets. | |
| PPERVIEWRENDERAREAS | back to summary |
|---|---|
| public static final int PPERVIEWRENDERAREAS The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| STYPE | back to summary |
|---|---|
| public static final int STYPE The struct member offsets. | |
| VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM | back to summary |
|---|---|
| protected VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM(long address, ByteBuffer container) | |
| VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM | back to summary |
|---|---|
| public VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM. Returns a new
| |
| create | back to summary |
|---|---|
| protected VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM. Like
| |
| malloc | back to summary |
|---|---|
| public static VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM. Returns a new
| |
| nperViewRenderAreaCount | back to summary |
|---|---|
| public static int nperViewRenderAreaCount(long struct) Unsafe version of | |
| nperViewRenderAreaCount | back to summary |
|---|---|
| public static void nperViewRenderAreaCount(long struct, int value) Sets the specified value to the | |
| npNext | back to summary |
|---|---|
| public static long npNext(long struct) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static void npNext(long struct, long value) Unsafe version of | |
| npPerViewRenderAreas | back to summary |
|---|---|
| public static VkRect2D. Unsafe version of
| |
| npPerViewRenderAreas | back to summary |
|---|---|
| public static void npPerViewRenderAreas(long struct, VkRect2D. Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static int nsType(long struct) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static void nsType(long struct, int value) Unsafe version of | |
| perViewRenderAreaCount | back to summary |
|---|---|
| public int perViewRenderAreaCount() the number of elements in the
| |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM pNext(long value) Sets the specified value to the | |
| pPerViewRenderAreas | back to summary |
|---|---|
| public VkRect2D. a pointer to an array of
| |
| pPerViewRenderAreas | back to summary |
|---|---|
| public VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM pPerViewRenderAreas(VkRect2D. Sets the address of the specified | |
| set | back to summary |
|---|---|
| public VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM set(int sType, long pNext, VkRect2D. Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM set(VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| sType | back to summary |
|---|---|
| public int sType() a
| |
| sType | back to summary |
|---|---|
| public VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM sType$Default() Sets the | |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| getElementFactory | back to summary |
|---|---|
| protected VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM getElementFactory() Implements abstract org.
| |
| perViewRenderAreaCount | back to summary |
|---|---|
public int perViewRenderAreaCount()
| |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM. Sets the specified value to the | |
| pPerViewRenderAreas | back to summary |
|---|---|
public VkRect2D.
| |
| pPerViewRenderAreas | back to summary |
|---|---|
| public VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM. Sets the address of the specified | |
| self | back to summary |
|---|---|
| protected VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM. Implements abstract org.
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM. Sets the | |