If mode is DEVICE_GROUP_PRESENT_MODE_LOCAL_BIT_KHR, then each element of pDeviceMasks selects which instance of the swapchain image is presented. Each element of pDeviceMasks must have exactly one bit set, and the corresponding physical device must have a presentation engine as reported by VkDeviceGroupPresentCapabilitiesKHR.
If mode is DEVICE_GROUP_PRESENT_MODE_REMOTE_BIT_KHR, then each element of pDeviceMasks selects which instance of the swapchain image is presented. Each element of pDeviceMasks must have exactly one bit set, and some physical device in the logical device must include that bit in its VkDeviceGroupPresentCapabilitiesKHR::presentMask.
If mode is DEVICE_GROUP_PRESENT_MODE_SUM_BIT_KHR, then each element of pDeviceMasks selects which instances of the swapchain image are component-wise summed and the sum of those images is presented. If the sum in any component is outside the representable range, the value of that component is undefined. Each element of pDeviceMasks must have a value for which all set bits are set in one of the elements of VkDeviceGroupPresentCapabilitiesKHR::presentMask.
If mode is DEVICE_GROUP_PRESENT_MODE_LOCAL_MULTI_DEVICE_BIT_KHR, then each element of pDeviceMasks selects which instance(s) of the swapchain images are presented. For each bit set in each element of pDeviceMasks, the corresponding physical device must have a presentation engine as reported by VkDeviceGroupPresentCapabilitiesKHR.
If VkDeviceGroupPresentInfoKHR is not provided or swapchainCount is zero then the masks are considered to be 1. If VkDeviceGroupPresentInfoKHR is not provided, mode is considered to be DEVICE_GROUP_PRESENT_MODE_LOCAL_BIT_KHR.
swapchainCount must equal 0 or VkPresentInfoKHR::swapchainCountmode is DEVICE_GROUP_PRESENT_MODE_LOCAL_BIT_KHR, then each element of pDeviceMasks must have exactly one bit set, and the corresponding element of VkDeviceGroupPresentCapabilitiesKHR::presentMask must be non-zeromode is DEVICE_GROUP_PRESENT_MODE_REMOTE_BIT_KHR, then each element of pDeviceMasks must have exactly one bit set, and some physical device in the logical device must include that bit in its VkDeviceGroupPresentCapabilitiesKHR::presentMaskmode is DEVICE_GROUP_PRESENT_MODE_SUM_BIT_KHR, then each element of pDeviceMasks must have a value for which all set bits are set in one of the elements of VkDeviceGroupPresentCapabilitiesKHR::presentMaskmode is DEVICE_GROUP_PRESENT_MODE_LOCAL_MULTI_DEVICE_BIT_KHR, then for each bit set in each element of pDeviceMasks, the corresponding element of VkDeviceGroupPresentCapabilitiesKHR::presentMask must be non-zeropDeviceMasks must be equal to the device mask passed in VkAcquireNextImageInfoKHR::deviceMask when the image index was last acquiredmode must have exactly one bit set, and that bit must have been included in VkDeviceGroupSwapchainCreateInfoKHR::modessType must be STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_INFO_KHRswapchainCount is not 0, pDeviceMasks must be a valid pointer to an array of swapchainCount uint32_t valuesmode must be a valid VkDeviceGroupPresentModeFlagBitsKHR value
struct VkDeviceGroupPresentInfoKHR {
VkStructureType sType;
void const * pNext;
uint32_t swapchainCount;
uint32_t const * pDeviceMasks;
VkDeviceGroupPresentModeFlagBitsKHR mode;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkDeviceGroupPresentInfoKHR.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | MODE
The struct member offsets. |
| public static final int | PDEVICEMASKS
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. |
| public static final int | SWAPCHAINCOUNT
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkDeviceGroupPresentInfoKHR(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkDeviceGroupPresentInfoKHR | |
| public static VkDeviceGroupPresentInfoKHR. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkDeviceGroupPresentInfoKHR | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkDeviceGroupPresentInfoKHR. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkDeviceGroupPresentInfoKHR | |
| public static VkDeviceGroupPresentInfoKHR | |
| public static VkDeviceGroupPresentInfoKHR. | |
| public static VkDeviceGroupPresentInfoKHR. | |
| protected VkDeviceGroupPresentInfoKHR | 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 VkDeviceGroupPresentInfoKHR | |
| public static VkDeviceGroupPresentInfoKHR | create(long address)
Returns a new |
| public static VkDeviceGroupPresentInfoKHR. | create(int
the buffer capacity capacity)Returns a new |
| public static VkDeviceGroupPresentInfoKHR. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkDeviceGroupPresentInfoKHR | |
| public static VkDeviceGroupPresentInfoKHR. | |
| public static VkDeviceGroupPresentInfoKHR | |
| public static VkDeviceGroupPresentInfoKHR. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkDeviceGroupPresentInfoKHR | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkDeviceGroupPresentInfoKHR. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkDeviceGroupPresentInfoKHR | |
| public static VkDeviceGroupPresentInfoKHR | |
| public static VkDeviceGroupPresentInfoKHR. | |
| public static VkDeviceGroupPresentInfoKHR. | |
| public int | mode()
a |
| public VkDeviceGroupPresentInfoKHR | |
| public static int | |
| public static void | |
| public static IntBuffer | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | nswapchainCount(long struct, int value)
Sets the specified value to the |
| public IntBuffer | pDeviceMasks()
a pointer to an array of device masks, one for each element of |
| public VkDeviceGroupPresentInfoKHR | |
| public long | |
| public VkDeviceGroupPresentInfoKHR | |
| public VkDeviceGroupPresentInfoKHR | |
| public VkDeviceGroupPresentInfoKHR | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkDeviceGroupPresentInfoKHR | |
| public VkDeviceGroupPresentInfoKHR | |
| public int | |
| public static void |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| MODE | back to summary |
|---|---|
| public static final int MODE The struct member offsets. | |
| PDEVICEMASKS | back to summary |
|---|---|
| public static final int PDEVICEMASKS 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. | |
| SWAPCHAINCOUNT | back to summary |
|---|---|
| public static final int SWAPCHAINCOUNT The struct member offsets. | |
| VkDeviceGroupPresentInfoKHR | back to summary |
|---|---|
| protected VkDeviceGroupPresentInfoKHR(long address, ByteBuffer container) | |
| VkDeviceGroupPresentInfoKHR | back to summary |
|---|---|
| public VkDeviceGroupPresentInfoKHR(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkDeviceGroupPresentInfoKHR calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkDeviceGroupPresentInfoKHR. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkDeviceGroupPresentInfoKHR calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkDeviceGroupPresentInfoKHR. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static VkDeviceGroupPresentInfoKHR callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkDeviceGroupPresentInfoKHR callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkDeviceGroupPresentInfoKHR. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkDeviceGroupPresentInfoKHR. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected VkDeviceGroupPresentInfoKHR create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkDeviceGroupPresentInfoKHR create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkDeviceGroupPresentInfoKHR create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkDeviceGroupPresentInfoKHR. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkDeviceGroupPresentInfoKHR. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkDeviceGroupPresentInfoKHR createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkDeviceGroupPresentInfoKHR. Like
| |
| malloc | back to summary |
|---|---|
| public static VkDeviceGroupPresentInfoKHR malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkDeviceGroupPresentInfoKHR. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkDeviceGroupPresentInfoKHR malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkDeviceGroupPresentInfoKHR. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static VkDeviceGroupPresentInfoKHR mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkDeviceGroupPresentInfoKHR mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkDeviceGroupPresentInfoKHR. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkDeviceGroupPresentInfoKHR. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mode | back to summary |
|---|---|
| public int mode() a
| |
| mode | back to summary |
|---|---|
| public VkDeviceGroupPresentInfoKHR mode(int value) Sets the specified value to the | |
| nmode | back to summary |
|---|---|
| public static int nmode(long struct) Unsafe version of | |
| nmode | back to summary |
|---|---|
| public static void nmode(long struct, int value) Unsafe version of | |
| npDeviceMasks | back to summary |
|---|---|
| public static IntBuffer npDeviceMasks(long struct) Unsafe version of
| |
| npDeviceMasks | back to summary |
|---|---|
| public static void npDeviceMasks(long struct, IntBuffer value) 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 | |
| nswapchainCount | back to summary |
|---|---|
| public static int nswapchainCount(long struct) Unsafe version of | |
| nswapchainCount | back to summary |
|---|---|
| public static void nswapchainCount(long struct, int value) Sets the specified value to the | |
| pDeviceMasks | back to summary |
|---|---|
| public IntBuffer pDeviceMasks() a pointer to an array of device masks, one for each element of
| |
| pDeviceMasks | back to summary |
|---|---|
| public VkDeviceGroupPresentInfoKHR pDeviceMasks(IntBuffer value) Sets the address of the specified | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkDeviceGroupPresentInfoKHR pNext(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkDeviceGroupPresentInfoKHR set(int sType, long pNext, IntBuffer pDeviceMasks, int mode) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkDeviceGroupPresentInfoKHR set(VkDeviceGroupPresentInfoKHR 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 VkDeviceGroupPresentInfoKHR sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkDeviceGroupPresentInfoKHR sType$Default() Sets the | |
| swapchainCount | back to summary |
|---|---|
| public int swapchainCount() zero or the number of elements in
| |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
VkDeviceGroupPresentInfoKHR structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkDeviceGroupPresentInfoKHR |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected VkDeviceGroupPresentInfoKHR | |
| public int | |
| public VkDeviceGroupPresentInfoKHR. | |
| public IntBuffer | Returns: aIntBuffer view of the data pointed to by the VkDeviceGroupPresentInfoKHR#pDeviceMasks field.
|
| public VkDeviceGroupPresentInfoKHR. | pDeviceMasks(IntBuffer value)
Sets the address of the specified |
| public long | |
| public VkDeviceGroupPresentInfoKHR. | |
| protected VkDeviceGroupPresentInfoKHR. | |
| public int | |
| public VkDeviceGroupPresentInfoKHR. | |
| public VkDeviceGroupPresentInfoKHR. | sType$Default()
Sets the |
| public int |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkDeviceGroupPresentInfoKHR 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 VkDeviceGroupPresentInfoKHR getElementFactory() Implements abstract org.
| |
| mode | back to summary |
|---|---|
public int mode()
| |
| mode | back to summary |
|---|---|
| public VkDeviceGroupPresentInfoKHR. Sets the specified value to the | |
| pDeviceMasks | back to summary |
|---|---|
public IntBuffer pDeviceMasks()
| |
| pDeviceMasks | back to summary |
|---|---|
| public VkDeviceGroupPresentInfoKHR. Sets the address of the specified | |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkDeviceGroupPresentInfoKHR. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkDeviceGroupPresentInfoKHR. Implements abstract org.
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkDeviceGroupPresentInfoKHR. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkDeviceGroupPresentInfoKHR. Sets the | |
| swapchainCount | back to summary |
|---|---|
public int swapchainCount()
| |