The deviceMask serves several purposes. It is an upper bound on the set of physical devices that can be used during the render pass instance, and the initial device mask when the render pass instance begins. In addition, commands transitioning to the next subpass in a render pass instance and commands ending the render pass instance, and, accordingly render pass load, store, and multisample resolve operations and subpass dependencies corresponding to the render pass instance, are executed on the physical devices included in the device mask provided here.
If deviceRenderAreaCount is not zero, then the elements of pDeviceRenderAreas override the value of VkRenderPassBeginInfo::renderArea, and provide a render area specific to each physical device. These render areas serve the same purpose as VkRenderPassBeginInfo::renderArea, including controlling the region of attachments that are cleared by ATTACHMENT_LOAD_OP_CLEAR and that are resolved into resolve attachments.
If this structure is not present, the render pass instance’s device mask is the value of VkDeviceGroupCommandBufferBeginInfo::deviceMask. If this structure is not present or if deviceRenderAreaCount is zero, VkRenderPassBeginInfo::renderArea is used for all physical devices.
deviceMask must be a valid device mask valuedeviceMask must not be zerodeviceMask must be a subset of the command buffer’s initial device maskdeviceRenderAreaCount must either be zero or equal to the number of physical devices in the logical deviceoffset.x member of any element of pDeviceRenderAreas must be greater than or equal to 0offset.y member of any element of pDeviceRenderAreas must be greater than or equal to 0offset.x and extent.width members of any element of pDeviceRenderAreas must be less than or equal to maxFramebufferWidthoffset.y and extent.height members of any element of pDeviceRenderAreas must be less than or equal to maxFramebufferHeightextent.width member of any element of pDeviceRenderAreas must be greater than 0extent.height member of any element of pDeviceRenderAreas must be greater than 0sType must be STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFOdeviceRenderAreaCount is not 0, pDeviceRenderAreas must be a valid pointer to an array of deviceRenderAreaCount VkRect2D structures
struct VkDeviceGroupRenderPassBeginInfo {
VkStructureType sType;
void const * pNext;
uint32_t deviceMask;
uint32_t deviceRenderAreaCount;
VkRect2D const * pDeviceRenderAreas;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkDeviceGroupRenderPassBeginInfo.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | DEVICEMASK
The struct member offsets. |
| public static final int | DEVICERENDERAREACOUNT
The struct member offsets. |
| public static final int | PDEVICERENDERAREAS
The struct member offsets. |
| public static final int | PNEXT
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 | VkDeviceGroupRenderPassBeginInfo(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkDeviceGroupRenderPassBeginInfo | |
| public static VkDeviceGroupRenderPassBeginInfo. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkDeviceGroupRenderPassBeginInfo | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkDeviceGroupRenderPassBeginInfo. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkDeviceGroupRenderPassBeginInfo | |
| public static VkDeviceGroupRenderPassBeginInfo | |
| public static VkDeviceGroupRenderPassBeginInfo. | |
| public static VkDeviceGroupRenderPassBeginInfo. | |
| protected VkDeviceGroupRenderPassBeginInfo | 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 VkDeviceGroupRenderPassBeginInfo | |
| public static VkDeviceGroupRenderPassBeginInfo | create(long address)
Returns a new |
| public static VkDeviceGroupRenderPassBeginInfo. | create(int
the buffer capacity capacity)Returns a new |
| public static VkDeviceGroupRenderPassBeginInfo. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkDeviceGroupRenderPassBeginInfo | |
| public static VkDeviceGroupRenderPassBeginInfo. | |
| public int | |
| public VkDeviceGroupRenderPassBeginInfo | |
| public int | |
| public static VkDeviceGroupRenderPassBeginInfo | |
| public static VkDeviceGroupRenderPassBeginInfo. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkDeviceGroupRenderPassBeginInfo | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkDeviceGroupRenderPassBeginInfo. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkDeviceGroupRenderPassBeginInfo | |
| public static VkDeviceGroupRenderPassBeginInfo | |
| public static VkDeviceGroupRenderPassBeginInfo. | |
| public static VkDeviceGroupRenderPassBeginInfo. | |
| public static int | |
| public static void | |
| public static int | |
| public static void | ndeviceRenderAreaCount(long struct, int value)
Sets the specified value to the |
| public static VkRect2D. | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public VkRect2D. | pDeviceRenderAreas()
a pointer to an array of |
| public VkDeviceGroupRenderPassBeginInfo | pDeviceRenderAreas(VkRect2D.
Sets the address of the specified |
| public long | |
| public VkDeviceGroupRenderPassBeginInfo | |
| public VkDeviceGroupRenderPassBeginInfo | |
| public VkDeviceGroupRenderPassBeginInfo | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkDeviceGroupRenderPassBeginInfo | |
| public VkDeviceGroupRenderPassBeginInfo | sType$Default()
Sets the |
| public static void |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| DEVICEMASK | back to summary |
|---|---|
| public static final int DEVICEMASK The struct member offsets. | |
| DEVICERENDERAREACOUNT | back to summary |
|---|---|
| public static final int DEVICERENDERAREACOUNT The struct member offsets. | |
| PDEVICERENDERAREAS | back to summary |
|---|---|
| public static final int PDEVICERENDERAREAS The struct member offsets. | |
| PNEXT | back to summary |
|---|---|
| public static final int PNEXT 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. | |
| VkDeviceGroupRenderPassBeginInfo | back to summary |
|---|---|
| protected VkDeviceGroupRenderPassBeginInfo(long address, ByteBuffer container) | |
| VkDeviceGroupRenderPassBeginInfo | back to summary |
|---|---|
| public VkDeviceGroupRenderPassBeginInfo(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkDeviceGroupRenderPassBeginInfo calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkDeviceGroupRenderPassBeginInfo. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkDeviceGroupRenderPassBeginInfo calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkDeviceGroupRenderPassBeginInfo. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static VkDeviceGroupRenderPassBeginInfo callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkDeviceGroupRenderPassBeginInfo callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkDeviceGroupRenderPassBeginInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkDeviceGroupRenderPassBeginInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected VkDeviceGroupRenderPassBeginInfo create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkDeviceGroupRenderPassBeginInfo create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkDeviceGroupRenderPassBeginInfo create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkDeviceGroupRenderPassBeginInfo. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkDeviceGroupRenderPassBeginInfo. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkDeviceGroupRenderPassBeginInfo createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkDeviceGroupRenderPassBeginInfo. Like
| |
| deviceMask | back to summary |
|---|---|
| public int deviceMask() the device mask for the render pass instance.
| |
| deviceMask | back to summary |
|---|---|
| public VkDeviceGroupRenderPassBeginInfo deviceMask(int value) Sets the specified value to the | |
| deviceRenderAreaCount | back to summary |
|---|---|
| public int deviceRenderAreaCount() the number of elements in the
| |
| malloc | back to summary |
|---|---|
| public static VkDeviceGroupRenderPassBeginInfo malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkDeviceGroupRenderPassBeginInfo. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkDeviceGroupRenderPassBeginInfo malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkDeviceGroupRenderPassBeginInfo. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static VkDeviceGroupRenderPassBeginInfo mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkDeviceGroupRenderPassBeginInfo mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkDeviceGroupRenderPassBeginInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkDeviceGroupRenderPassBeginInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| ndeviceMask | back to summary |
|---|---|
| public static int ndeviceMask(long struct) Unsafe version of | |
| ndeviceMask | back to summary |
|---|---|
| public static void ndeviceMask(long struct, int value) Unsafe version of | |
| ndeviceRenderAreaCount | back to summary |
|---|---|
| public static int ndeviceRenderAreaCount(long struct) Unsafe version of | |
| ndeviceRenderAreaCount | back to summary |
|---|---|
| public static void ndeviceRenderAreaCount(long struct, int value) Sets the specified value to the | |
| npDeviceRenderAreas | back to summary |
|---|---|
| public static VkRect2D. Unsafe version of
| |
| npDeviceRenderAreas | back to summary |
|---|---|
| public static void npDeviceRenderAreas(long struct, VkRect2D. Unsafe version of | |
| 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 | |
| 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 | |
| pDeviceRenderAreas | back to summary |
|---|---|
| public VkRect2D. a pointer to an array of
| |
| pDeviceRenderAreas | back to summary |
|---|---|
| public VkDeviceGroupRenderPassBeginInfo pDeviceRenderAreas(VkRect2D. Sets the address of the specified | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkDeviceGroupRenderPassBeginInfo pNext(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkDeviceGroupRenderPassBeginInfo set(int sType, long pNext, int deviceMask, VkRect2D. Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkDeviceGroupRenderPassBeginInfo set(VkDeviceGroupRenderPassBeginInfo 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 VkDeviceGroupRenderPassBeginInfo sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkDeviceGroupRenderPassBeginInfo sType$Default() Sets the | |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
VkDeviceGroupRenderPassBeginInfo structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkDeviceGroupRenderPassBeginInfo |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkDeviceGroupRenderPassBeginInfo 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) | |
| deviceMask | back to summary |
|---|---|
public int deviceMask()
| |
| deviceMask | back to summary |
|---|---|
| public VkDeviceGroupRenderPassBeginInfo. Sets the specified value to the | |
| deviceRenderAreaCount | back to summary |
|---|---|
public int deviceRenderAreaCount()
| |
| getElementFactory | back to summary |
|---|---|
| protected VkDeviceGroupRenderPassBeginInfo getElementFactory() Implements abstract org.
| |
| pDeviceRenderAreas | back to summary |
|---|---|
public VkRect2D.
| |
| pDeviceRenderAreas | back to summary |
|---|---|
| public VkDeviceGroupRenderPassBeginInfo. Sets the address of the specified | |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkDeviceGroupRenderPassBeginInfo. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkDeviceGroupRenderPassBeginInfo. Implements abstract org.
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkDeviceGroupRenderPassBeginInfo. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkDeviceGroupRenderPassBeginInfo. Sets the | |