org.lwjgl.vulkan.VkDeviceGroupSubmitInfoKHX Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lwjgl-vulkan Show documentation
Show all versions of lwjgl-vulkan Show documentation
A new generation graphics and compute API that provides high-efficiency, cross-platform access to modern GPUs used in a wide variety of devices from PCs and consoles to mobile phones and embedded platforms.
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.vulkan;
import javax.annotation.*;
import java.nio.*;
import org.lwjgl.*;
import org.lwjgl.system.*;
import static org.lwjgl.system.Checks.*;
import static org.lwjgl.system.MemoryUtil.*;
import static org.lwjgl.system.MemoryStack.*;
/**
* Structure indicating which physical devices execute semaphore operations and command buffers.
*
* Description
*
* If this structure is not present, semaphore operations and command buffers execute on device index zero.
*
* Valid Usage
*
*
* - {@code waitSemaphoreCount} must equal {@link VkSubmitInfo}{@code ::waitSemaphoreCount}
* - {@code commandBufferCount} must equal {@link VkSubmitInfo}{@code ::commandBufferCount}
* - {@code signalSemaphoreCount} must equal {@link VkSubmitInfo}{@code ::signalSemaphoreCount}
* - All elements of {@code pWaitSemaphoreDeviceIndices} and {@code pSignalSemaphoreDeviceIndices} must be valid device indices
* - All elements of {@code pCommandBufferDeviceMasks} must be valid device masks
*
*
* Valid Usage (Implicit)
*
*
* - {@code sType} must be {@link KHXDeviceGroup#VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO_KHX STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO_KHX}
* - If {@code waitSemaphoreCount} is not 0, {@code pWaitSemaphoreDeviceIndices} must be a valid pointer to an array of {@code waitSemaphoreCount} {@code uint32_t} values
* - If {@code commandBufferCount} is not 0, {@code pCommandBufferDeviceMasks} must be a valid pointer to an array of {@code commandBufferCount} {@code uint32_t} values
* - If {@code signalSemaphoreCount} is not 0, {@code pSignalSemaphoreDeviceIndices} must be a valid pointer to an array of {@code signalSemaphoreCount} {@code uint32_t} values
*
*
* Member documentation
*
*
* - {@code sType} – the type of this structure.
* - {@code pNext} – {@code NULL} or a pointer to an extension-specific structure.
* - {@code waitSemaphoreCount} – the number of elements in the {@code pWaitSemaphoreDeviceIndices} array.
* - {@code pWaitSemaphoreDeviceIndices} – an array of device indices indicating which physical device executes the semaphore wait operation in the corresponding element of {@link VkSubmitInfo}{@code ::pWaitSemaphores}.
* - {@code commandBufferCount} – the number of elements in the {@code pCommandBufferDeviceMasks} array.
* - {@code pCommandBufferDeviceMasks} – an array of device masks indicating which physical devices execute the command buffer in the corresponding element of {@link VkSubmitInfo}{@code ::pCommandBuffers}. A physical device executes the command buffer if the corresponding bit is set in the mask.
* - {@code signalSemaphoreCount} – the number of elements in the {@code pSignalSemaphoreDeviceIndices} array.
* - {@code pSignalSemaphoreDeviceIndices} – an array of device indices indicating which physical device executes the semaphore signal operation in the corresponding element of {@link VkSubmitInfo}{@code ::pSignalSemaphores}.
*
*
* Layout
*
*
* struct VkDeviceGroupSubmitInfoKHX {
* VkStructureType sType;
* const void * pNext;
* uint32_t waitSemaphoreCount;
* const uint32_t * pWaitSemaphoreDeviceIndices;
* uint32_t commandBufferCount;
* const uint32_t * pCommandBufferDeviceMasks;
* uint32_t signalSemaphoreCount;
* const uint32_t * pSignalSemaphoreDeviceIndices;
* }
*/
public class VkDeviceGroupSubmitInfoKHX extends Struct implements NativeResource {
/** The struct size in bytes. */
public static final int SIZEOF;
public static final int ALIGNOF;
/** The struct member offsets. */
public static final int
STYPE,
PNEXT,
WAITSEMAPHORECOUNT,
PWAITSEMAPHOREDEVICEINDICES,
COMMANDBUFFERCOUNT,
PCOMMANDBUFFERDEVICEMASKS,
SIGNALSEMAPHORECOUNT,
PSIGNALSEMAPHOREDEVICEINDICES;
static {
Layout layout = __struct(
__member(4),
__member(POINTER_SIZE),
__member(4),
__member(POINTER_SIZE),
__member(4),
__member(POINTER_SIZE),
__member(4),
__member(POINTER_SIZE)
);
SIZEOF = layout.getSize();
ALIGNOF = layout.getAlignment();
STYPE = layout.offsetof(0);
PNEXT = layout.offsetof(1);
WAITSEMAPHORECOUNT = layout.offsetof(2);
PWAITSEMAPHOREDEVICEINDICES = layout.offsetof(3);
COMMANDBUFFERCOUNT = layout.offsetof(4);
PCOMMANDBUFFERDEVICEMASKS = layout.offsetof(5);
SIGNALSEMAPHORECOUNT = layout.offsetof(6);
PSIGNALSEMAPHOREDEVICEINDICES = layout.offsetof(7);
}
VkDeviceGroupSubmitInfoKHX(long address, @Nullable ByteBuffer container) {
super(address, container);
}
/**
* Creates a {@link VkDeviceGroupSubmitInfoKHX} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be
* visible to the struct instance and vice versa.
*
* The created instance holds a strong reference to the container object.
*/
public VkDeviceGroupSubmitInfoKHX(ByteBuffer container) {
this(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** Returns the value of the {@code sType} field. */
@NativeType("VkStructureType")
public int sType() { return nsType(address()); }
/** Returns the value of the {@code pNext} field. */
@NativeType("const void *")
public long pNext() { return npNext(address()); }
/** Returns the value of the {@code waitSemaphoreCount} field. */
@NativeType("uint32_t")
public int waitSemaphoreCount() { return nwaitSemaphoreCount(address()); }
/** Returns a {@link IntBuffer} view of the data pointed to by the {@code pWaitSemaphoreDeviceIndices} field. */
@Nullable
@NativeType("const uint32_t *")
public IntBuffer pWaitSemaphoreDeviceIndices() { return npWaitSemaphoreDeviceIndices(address()); }
/** Returns the value of the {@code commandBufferCount} field. */
@NativeType("uint32_t")
public int commandBufferCount() { return ncommandBufferCount(address()); }
/** Returns a {@link IntBuffer} view of the data pointed to by the {@code pCommandBufferDeviceMasks} field. */
@Nullable
@NativeType("const uint32_t *")
public IntBuffer pCommandBufferDeviceMasks() { return npCommandBufferDeviceMasks(address()); }
/** Returns the value of the {@code signalSemaphoreCount} field. */
@NativeType("uint32_t")
public int signalSemaphoreCount() { return nsignalSemaphoreCount(address()); }
/** Returns a {@link IntBuffer} view of the data pointed to by the {@code pSignalSemaphoreDeviceIndices} field. */
@Nullable
@NativeType("const uint32_t *")
public IntBuffer pSignalSemaphoreDeviceIndices() { return npSignalSemaphoreDeviceIndices(address()); }
/** Sets the specified value to the {@code sType} field. */
public VkDeviceGroupSubmitInfoKHX sType(@NativeType("VkStructureType") int value) { nsType(address(), value); return this; }
/** Sets the specified value to the {@code pNext} field. */
public VkDeviceGroupSubmitInfoKHX pNext(@NativeType("const void *") long value) { npNext(address(), value); return this; }
/** Sets the address of the specified {@link IntBuffer} to the {@code pWaitSemaphoreDeviceIndices} field. */
public VkDeviceGroupSubmitInfoKHX pWaitSemaphoreDeviceIndices(@Nullable @NativeType("const uint32_t *") IntBuffer value) { npWaitSemaphoreDeviceIndices(address(), value); return this; }
/** Sets the address of the specified {@link IntBuffer} to the {@code pCommandBufferDeviceMasks} field. */
public VkDeviceGroupSubmitInfoKHX pCommandBufferDeviceMasks(@Nullable @NativeType("const uint32_t *") IntBuffer value) { npCommandBufferDeviceMasks(address(), value); return this; }
/** Sets the address of the specified {@link IntBuffer} to the {@code pSignalSemaphoreDeviceIndices} field. */
public VkDeviceGroupSubmitInfoKHX pSignalSemaphoreDeviceIndices(@Nullable @NativeType("const uint32_t *") IntBuffer value) { npSignalSemaphoreDeviceIndices(address(), value); return this; }
/** Initializes this struct with the specified values. */
public VkDeviceGroupSubmitInfoKHX set(
int sType,
long pNext,
IntBuffer pWaitSemaphoreDeviceIndices,
IntBuffer pCommandBufferDeviceMasks,
IntBuffer pSignalSemaphoreDeviceIndices
) {
sType(sType);
pNext(pNext);
pWaitSemaphoreDeviceIndices(pWaitSemaphoreDeviceIndices);
pCommandBufferDeviceMasks(pCommandBufferDeviceMasks);
pSignalSemaphoreDeviceIndices(pSignalSemaphoreDeviceIndices);
return this;
}
/**
* Copies the specified struct data to this struct.
*
* @param src the source struct
*
* @return this struct
*/
public VkDeviceGroupSubmitInfoKHX set(VkDeviceGroupSubmitInfoKHX src) {
memCopy(src.address(), address(), SIZEOF);
return this;
}
// -----------------------------------
/** Returns a new {@link VkDeviceGroupSubmitInfoKHX} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. */
public static VkDeviceGroupSubmitInfoKHX malloc() {
return create(nmemAllocChecked(SIZEOF));
}
/** Returns a new {@link VkDeviceGroupSubmitInfoKHX} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. */
public static VkDeviceGroupSubmitInfoKHX calloc() {
return create(nmemCallocChecked(1, SIZEOF));
}
/** Returns a new {@link VkDeviceGroupSubmitInfoKHX} instance allocated with {@link BufferUtils}. */
public static VkDeviceGroupSubmitInfoKHX create() {
return new VkDeviceGroupSubmitInfoKHX(BufferUtils.createByteBuffer(SIZEOF));
}
/** Returns a new {@link VkDeviceGroupSubmitInfoKHX} instance for the specified memory address. */
public static VkDeviceGroupSubmitInfoKHX create(long address) {
return new VkDeviceGroupSubmitInfoKHX(address, null);
}
/** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}. */
@Nullable
public static VkDeviceGroupSubmitInfoKHX createSafe(long address) {
return address == NULL ? null : create(address);
}
/**
* Returns a new {@link VkDeviceGroupSubmitInfoKHX.Buffer} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
*
* @param capacity the buffer capacity
*/
public static VkDeviceGroupSubmitInfoKHX.Buffer malloc(int capacity) {
return create(__malloc(capacity, SIZEOF), capacity);
}
/**
* Returns a new {@link VkDeviceGroupSubmitInfoKHX.Buffer} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
*
* @param capacity the buffer capacity
*/
public static VkDeviceGroupSubmitInfoKHX.Buffer calloc(int capacity) {
return create(nmemCallocChecked(capacity, SIZEOF), capacity);
}
/**
* Returns a new {@link VkDeviceGroupSubmitInfoKHX.Buffer} instance allocated with {@link BufferUtils}.
*
* @param capacity the buffer capacity
*/
public static VkDeviceGroupSubmitInfoKHX.Buffer create(int capacity) {
return new Buffer(__create(capacity, SIZEOF));
}
/**
* Create a {@link VkDeviceGroupSubmitInfoKHX.Buffer} instance at the specified memory.
*
* @param address the memory address
* @param capacity the buffer capacity
*/
public static VkDeviceGroupSubmitInfoKHX.Buffer create(long address, int capacity) {
return new Buffer(address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. */
@Nullable
public static VkDeviceGroupSubmitInfoKHX.Buffer createSafe(long address, int capacity) {
return address == NULL ? null : create(address, capacity);
}
// -----------------------------------
/** Returns a new {@link VkDeviceGroupSubmitInfoKHX} instance allocated on the thread-local {@link MemoryStack}. */
public static VkDeviceGroupSubmitInfoKHX mallocStack() {
return mallocStack(stackGet());
}
/** Returns a new {@link VkDeviceGroupSubmitInfoKHX} instance allocated on the thread-local {@link MemoryStack} and initializes all its bits to zero. */
public static VkDeviceGroupSubmitInfoKHX callocStack() {
return callocStack(stackGet());
}
/**
* Returns a new {@link VkDeviceGroupSubmitInfoKHX} instance allocated on the specified {@link MemoryStack}.
*
* @param stack the stack from which to allocate
*/
public static VkDeviceGroupSubmitInfoKHX mallocStack(MemoryStack stack) {
return create(stack.nmalloc(ALIGNOF, SIZEOF));
}
/**
* Returns a new {@link VkDeviceGroupSubmitInfoKHX} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero.
*
* @param stack the stack from which to allocate
*/
public static VkDeviceGroupSubmitInfoKHX callocStack(MemoryStack stack) {
return create(stack.ncalloc(ALIGNOF, 1, SIZEOF));
}
/**
* Returns a new {@link VkDeviceGroupSubmitInfoKHX.Buffer} instance allocated on the thread-local {@link MemoryStack}.
*
* @param capacity the buffer capacity
*/
public static VkDeviceGroupSubmitInfoKHX.Buffer mallocStack(int capacity) {
return mallocStack(capacity, stackGet());
}
/**
* Returns a new {@link VkDeviceGroupSubmitInfoKHX.Buffer} instance allocated on the thread-local {@link MemoryStack} and initializes all its bits to zero.
*
* @param capacity the buffer capacity
*/
public static VkDeviceGroupSubmitInfoKHX.Buffer callocStack(int capacity) {
return callocStack(capacity, stackGet());
}
/**
* Returns a new {@link VkDeviceGroupSubmitInfoKHX.Buffer} instance allocated on the specified {@link MemoryStack}.
*
* @param stack the stack from which to allocate
* @param capacity the buffer capacity
*/
public static VkDeviceGroupSubmitInfoKHX.Buffer mallocStack(int capacity, MemoryStack stack) {
return create(stack.nmalloc(ALIGNOF, capacity * SIZEOF), capacity);
}
/**
* Returns a new {@link VkDeviceGroupSubmitInfoKHX.Buffer} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero.
*
* @param stack the stack from which to allocate
* @param capacity the buffer capacity
*/
public static VkDeviceGroupSubmitInfoKHX.Buffer callocStack(int capacity, MemoryStack stack) {
return create(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #sType}. */
public static int nsType(long struct) { return memGetInt(struct + VkDeviceGroupSubmitInfoKHX.STYPE); }
/** Unsafe version of {@link #pNext}. */
public static long npNext(long struct) { return memGetAddress(struct + VkDeviceGroupSubmitInfoKHX.PNEXT); }
/** Unsafe version of {@link #waitSemaphoreCount}. */
public static int nwaitSemaphoreCount(long struct) { return memGetInt(struct + VkDeviceGroupSubmitInfoKHX.WAITSEMAPHORECOUNT); }
/** Unsafe version of {@link #pWaitSemaphoreDeviceIndices() pWaitSemaphoreDeviceIndices}. */
@Nullable public static IntBuffer npWaitSemaphoreDeviceIndices(long struct) { return memIntBufferSafe(memGetAddress(struct + VkDeviceGroupSubmitInfoKHX.PWAITSEMAPHOREDEVICEINDICES), nwaitSemaphoreCount(struct)); }
/** Unsafe version of {@link #commandBufferCount}. */
public static int ncommandBufferCount(long struct) { return memGetInt(struct + VkDeviceGroupSubmitInfoKHX.COMMANDBUFFERCOUNT); }
/** Unsafe version of {@link #pCommandBufferDeviceMasks() pCommandBufferDeviceMasks}. */
@Nullable public static IntBuffer npCommandBufferDeviceMasks(long struct) { return memIntBufferSafe(memGetAddress(struct + VkDeviceGroupSubmitInfoKHX.PCOMMANDBUFFERDEVICEMASKS), ncommandBufferCount(struct)); }
/** Unsafe version of {@link #signalSemaphoreCount}. */
public static int nsignalSemaphoreCount(long struct) { return memGetInt(struct + VkDeviceGroupSubmitInfoKHX.SIGNALSEMAPHORECOUNT); }
/** Unsafe version of {@link #pSignalSemaphoreDeviceIndices() pSignalSemaphoreDeviceIndices}. */
@Nullable public static IntBuffer npSignalSemaphoreDeviceIndices(long struct) { return memIntBufferSafe(memGetAddress(struct + VkDeviceGroupSubmitInfoKHX.PSIGNALSEMAPHOREDEVICEINDICES), nsignalSemaphoreCount(struct)); }
/** Unsafe version of {@link #sType(int) sType}. */
public static void nsType(long struct, int value) { memPutInt(struct + VkDeviceGroupSubmitInfoKHX.STYPE, value); }
/** Unsafe version of {@link #pNext(long) pNext}. */
public static void npNext(long struct, long value) { memPutAddress(struct + VkDeviceGroupSubmitInfoKHX.PNEXT, value); }
/** Sets the specified value to the {@code waitSemaphoreCount} field of the specified {@code struct}. */
public static void nwaitSemaphoreCount(long struct, int value) { memPutInt(struct + VkDeviceGroupSubmitInfoKHX.WAITSEMAPHORECOUNT, value); }
/** Unsafe version of {@link #pWaitSemaphoreDeviceIndices(IntBuffer) pWaitSemaphoreDeviceIndices}. */
public static void npWaitSemaphoreDeviceIndices(long struct, @Nullable IntBuffer value) { memPutAddress(struct + VkDeviceGroupSubmitInfoKHX.PWAITSEMAPHOREDEVICEINDICES, memAddressSafe(value)); nwaitSemaphoreCount(struct, value == null ? 0 : value.remaining()); }
/** Sets the specified value to the {@code commandBufferCount} field of the specified {@code struct}. */
public static void ncommandBufferCount(long struct, int value) { memPutInt(struct + VkDeviceGroupSubmitInfoKHX.COMMANDBUFFERCOUNT, value); }
/** Unsafe version of {@link #pCommandBufferDeviceMasks(IntBuffer) pCommandBufferDeviceMasks}. */
public static void npCommandBufferDeviceMasks(long struct, @Nullable IntBuffer value) { memPutAddress(struct + VkDeviceGroupSubmitInfoKHX.PCOMMANDBUFFERDEVICEMASKS, memAddressSafe(value)); ncommandBufferCount(struct, value == null ? 0 : value.remaining()); }
/** Sets the specified value to the {@code signalSemaphoreCount} field of the specified {@code struct}. */
public static void nsignalSemaphoreCount(long struct, int value) { memPutInt(struct + VkDeviceGroupSubmitInfoKHX.SIGNALSEMAPHORECOUNT, value); }
/** Unsafe version of {@link #pSignalSemaphoreDeviceIndices(IntBuffer) pSignalSemaphoreDeviceIndices}. */
public static void npSignalSemaphoreDeviceIndices(long struct, @Nullable IntBuffer value) { memPutAddress(struct + VkDeviceGroupSubmitInfoKHX.PSIGNALSEMAPHOREDEVICEINDICES, memAddressSafe(value)); nsignalSemaphoreCount(struct, value == null ? 0 : value.remaining()); }
/**
* Validates pointer members that should not be {@code NULL}.
*
* @param struct the struct to validate
*/
public static void validate(long struct) {
if (nwaitSemaphoreCount(struct) != 0) {
check(memGetAddress(struct + VkDeviceGroupSubmitInfoKHX.PWAITSEMAPHOREDEVICEINDICES));
}
if (ncommandBufferCount(struct) != 0) {
check(memGetAddress(struct + VkDeviceGroupSubmitInfoKHX.PCOMMANDBUFFERDEVICEMASKS));
}
if (nsignalSemaphoreCount(struct) != 0) {
check(memGetAddress(struct + VkDeviceGroupSubmitInfoKHX.PSIGNALSEMAPHOREDEVICEINDICES));
}
}
/**
* Calls {@link #validate(long)} for each struct contained in the specified struct array.
*
* @param array the struct array to validate
* @param count the number of structs in {@code array}
*/
public static void validate(long array, int count) {
for (int i = 0; i < count; i++) {
validate(array + i * SIZEOF);
}
}
// -----------------------------------
/** An array of {@link VkDeviceGroupSubmitInfoKHX} structs. */
public static class Buffer extends StructBuffer implements NativeResource {
/**
* Creates a new {@link VkDeviceGroupSubmitInfoKHX.Buffer} instance backed by the specified container.
*
* 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 {@link VkDeviceGroupSubmitInfoKHX#SIZEOF}, and its mark will be undefined.
*
* The created buffer instance holds a strong reference to the container object.
*/
public Buffer(ByteBuffer container) {
super(container, container.remaining() / SIZEOF);
}
public Buffer(long address, int cap) {
super(address, null, -1, 0, cap, cap);
}
Buffer(long address, @Nullable ByteBuffer container, int mark, int pos, int lim, int cap) {
super(address, container, mark, pos, lim, cap);
}
@Override
protected Buffer self() {
return this;
}
@Override
protected Buffer newBufferInstance(long address, @Nullable ByteBuffer container, int mark, int pos, int lim, int cap) {
return new Buffer(address, container, mark, pos, lim, cap);
}
@Override
protected VkDeviceGroupSubmitInfoKHX newInstance(long address) {
return new VkDeviceGroupSubmitInfoKHX(address, container);
}
@Override
public int sizeof() {
return SIZEOF;
}
/** Returns the value of the {@code sType} field. */
@NativeType("VkStructureType")
public int sType() { return VkDeviceGroupSubmitInfoKHX.nsType(address()); }
/** Returns the value of the {@code pNext} field. */
@NativeType("const void *")
public long pNext() { return VkDeviceGroupSubmitInfoKHX.npNext(address()); }
/** Returns the value of the {@code waitSemaphoreCount} field. */
@NativeType("uint32_t")
public int waitSemaphoreCount() { return VkDeviceGroupSubmitInfoKHX.nwaitSemaphoreCount(address()); }
/** Returns a {@link IntBuffer} view of the data pointed to by the {@code pWaitSemaphoreDeviceIndices} field. */
@Nullable
@NativeType("const uint32_t *")
public IntBuffer pWaitSemaphoreDeviceIndices() { return VkDeviceGroupSubmitInfoKHX.npWaitSemaphoreDeviceIndices(address()); }
/** Returns the value of the {@code commandBufferCount} field. */
@NativeType("uint32_t")
public int commandBufferCount() { return VkDeviceGroupSubmitInfoKHX.ncommandBufferCount(address()); }
/** Returns a {@link IntBuffer} view of the data pointed to by the {@code pCommandBufferDeviceMasks} field. */
@Nullable
@NativeType("const uint32_t *")
public IntBuffer pCommandBufferDeviceMasks() { return VkDeviceGroupSubmitInfoKHX.npCommandBufferDeviceMasks(address()); }
/** Returns the value of the {@code signalSemaphoreCount} field. */
@NativeType("uint32_t")
public int signalSemaphoreCount() { return VkDeviceGroupSubmitInfoKHX.nsignalSemaphoreCount(address()); }
/** Returns a {@link IntBuffer} view of the data pointed to by the {@code pSignalSemaphoreDeviceIndices} field. */
@Nullable
@NativeType("const uint32_t *")
public IntBuffer pSignalSemaphoreDeviceIndices() { return VkDeviceGroupSubmitInfoKHX.npSignalSemaphoreDeviceIndices(address()); }
/** Sets the specified value to the {@code sType} field. */
public VkDeviceGroupSubmitInfoKHX.Buffer sType(@NativeType("VkStructureType") int value) { VkDeviceGroupSubmitInfoKHX.nsType(address(), value); return this; }
/** Sets the specified value to the {@code pNext} field. */
public VkDeviceGroupSubmitInfoKHX.Buffer pNext(@NativeType("const void *") long value) { VkDeviceGroupSubmitInfoKHX.npNext(address(), value); return this; }
/** Sets the address of the specified {@link IntBuffer} to the {@code pWaitSemaphoreDeviceIndices} field. */
public VkDeviceGroupSubmitInfoKHX.Buffer pWaitSemaphoreDeviceIndices(@Nullable @NativeType("const uint32_t *") IntBuffer value) { VkDeviceGroupSubmitInfoKHX.npWaitSemaphoreDeviceIndices(address(), value); return this; }
/** Sets the address of the specified {@link IntBuffer} to the {@code pCommandBufferDeviceMasks} field. */
public VkDeviceGroupSubmitInfoKHX.Buffer pCommandBufferDeviceMasks(@Nullable @NativeType("const uint32_t *") IntBuffer value) { VkDeviceGroupSubmitInfoKHX.npCommandBufferDeviceMasks(address(), value); return this; }
/** Sets the address of the specified {@link IntBuffer} to the {@code pSignalSemaphoreDeviceIndices} field. */
public VkDeviceGroupSubmitInfoKHX.Buffer pSignalSemaphoreDeviceIndices(@Nullable @NativeType("const uint32_t *") IntBuffer value) { VkDeviceGroupSubmitInfoKHX.npSignalSemaphoreDeviceIndices(address(), value); return this; }
}
}