public class VkDeviceGroupSwapchainCreateInfoKHR
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If this structure is not present, modes is considered to be DEVICE_GROUP_PRESENT_MODE_LOCAL_BIT_KHR.
sType must be STRUCTURE_TYPE_DEVICE_GROUP_SWAPCHAIN_CREATE_INFO_KHRmodes must be a valid combination of VkDeviceGroupPresentModeFlagBitsKHR valuesmodes must not be 0sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.modes – a bitfield of modes that the swapchain can be used with.
struct VkDeviceGroupSwapchainCreateInfoKHR {
VkStructureType sType;
void const * pNext;
VkDeviceGroupPresentModeFlagsKHR modes;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkDeviceGroupSwapchainCreateInfoKHR.Buffer
An array of
VkDeviceGroupSwapchainCreateInfoKHR structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
MODES
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkDeviceGroupSwapchainCreateInfoKHR(java.nio.ByteBuffer container)
Creates a
VkDeviceGroupSwapchainCreateInfoKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkDeviceGroupSwapchainCreateInfoKHR |
calloc()
Returns a new
VkDeviceGroupSwapchainCreateInfoKHR instance allocated with memCalloc. |
static VkDeviceGroupSwapchainCreateInfoKHR.Buffer |
calloc(int capacity)
Returns a new
VkDeviceGroupSwapchainCreateInfoKHR.Buffer instance allocated with memCalloc. |
static VkDeviceGroupSwapchainCreateInfoKHR |
callocStack()
Returns a new
VkDeviceGroupSwapchainCreateInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDeviceGroupSwapchainCreateInfoKHR.Buffer |
callocStack(int capacity)
Returns a new
VkDeviceGroupSwapchainCreateInfoKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDeviceGroupSwapchainCreateInfoKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDeviceGroupSwapchainCreateInfoKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkDeviceGroupSwapchainCreateInfoKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDeviceGroupSwapchainCreateInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkDeviceGroupSwapchainCreateInfoKHR |
create()
Returns a new
VkDeviceGroupSwapchainCreateInfoKHR instance allocated with BufferUtils. |
static VkDeviceGroupSwapchainCreateInfoKHR.Buffer |
create(int capacity)
Returns a new
VkDeviceGroupSwapchainCreateInfoKHR.Buffer instance allocated with BufferUtils. |
static VkDeviceGroupSwapchainCreateInfoKHR |
create(long address)
Returns a new
VkDeviceGroupSwapchainCreateInfoKHR instance for the specified memory address. |
static VkDeviceGroupSwapchainCreateInfoKHR.Buffer |
create(long address,
int capacity)
Create a
VkDeviceGroupSwapchainCreateInfoKHR.Buffer instance at the specified memory. |
static VkDeviceGroupSwapchainCreateInfoKHR |
createSafe(long address)
|
static VkDeviceGroupSwapchainCreateInfoKHR.Buffer |
createSafe(long address,
int capacity)
|
static VkDeviceGroupSwapchainCreateInfoKHR |
malloc()
Returns a new
VkDeviceGroupSwapchainCreateInfoKHR instance allocated with memAlloc. |
static VkDeviceGroupSwapchainCreateInfoKHR.Buffer |
malloc(int capacity)
Returns a new
VkDeviceGroupSwapchainCreateInfoKHR.Buffer instance allocated with memAlloc. |
static VkDeviceGroupSwapchainCreateInfoKHR |
mallocStack()
Returns a new
VkDeviceGroupSwapchainCreateInfoKHR instance allocated on the thread-local MemoryStack. |
static VkDeviceGroupSwapchainCreateInfoKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkDeviceGroupSwapchainCreateInfoKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkDeviceGroupSwapchainCreateInfoKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDeviceGroupSwapchainCreateInfoKHR.Buffer instance allocated on the specified MemoryStack. |
static VkDeviceGroupSwapchainCreateInfoKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDeviceGroupSwapchainCreateInfoKHR instance allocated on the specified MemoryStack. |
int |
modes()
Returns the value of the
modes field. |
VkDeviceGroupSwapchainCreateInfoKHR |
modes(int value)
Sets the specified value to the
modes field. |
static int |
nmodes(long struct)
Unsafe version of
modes(). |
static void |
nmodes(long struct,
int value)
Unsafe version of
modes. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
long |
pNext()
Returns the value of the
pNext field. |
VkDeviceGroupSwapchainCreateInfoKHR |
pNext(long value)
Sets the specified value to the
pNext field. |
VkDeviceGroupSwapchainCreateInfoKHR |
set(int sType,
long pNext,
int modes)
Initializes this struct with the specified values.
|
VkDeviceGroupSwapchainCreateInfoKHR |
set(VkDeviceGroupSwapchainCreateInfoKHR src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkDeviceGroupSwapchainCreateInfoKHR |
sType(int value)
Sets the specified value to the
sType field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int MODES
public VkDeviceGroupSwapchainCreateInfoKHR(java.nio.ByteBuffer container)
VkDeviceGroupSwapchainCreateInfoKHR instance at the current position of the specified 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 int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public int modes()
modes field.public VkDeviceGroupSwapchainCreateInfoKHR sType(int value)
sType field.public VkDeviceGroupSwapchainCreateInfoKHR pNext(long value)
pNext field.public VkDeviceGroupSwapchainCreateInfoKHR modes(int value)
modes field.public VkDeviceGroupSwapchainCreateInfoKHR set(int sType, long pNext, int modes)
public VkDeviceGroupSwapchainCreateInfoKHR set(VkDeviceGroupSwapchainCreateInfoKHR src)
src - the source structpublic static VkDeviceGroupSwapchainCreateInfoKHR malloc()
VkDeviceGroupSwapchainCreateInfoKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkDeviceGroupSwapchainCreateInfoKHR calloc()
VkDeviceGroupSwapchainCreateInfoKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkDeviceGroupSwapchainCreateInfoKHR create()
VkDeviceGroupSwapchainCreateInfoKHR instance allocated with BufferUtils.public static VkDeviceGroupSwapchainCreateInfoKHR create(long address)
VkDeviceGroupSwapchainCreateInfoKHR instance for the specified memory address.@Nullable public static VkDeviceGroupSwapchainCreateInfoKHR createSafe(long address)
public static VkDeviceGroupSwapchainCreateInfoKHR.Buffer malloc(int capacity)
VkDeviceGroupSwapchainCreateInfoKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDeviceGroupSwapchainCreateInfoKHR.Buffer calloc(int capacity)
VkDeviceGroupSwapchainCreateInfoKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDeviceGroupSwapchainCreateInfoKHR.Buffer create(int capacity)
VkDeviceGroupSwapchainCreateInfoKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkDeviceGroupSwapchainCreateInfoKHR.Buffer create(long address, int capacity)
VkDeviceGroupSwapchainCreateInfoKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkDeviceGroupSwapchainCreateInfoKHR.Buffer createSafe(long address, int capacity)
public static VkDeviceGroupSwapchainCreateInfoKHR mallocStack()
VkDeviceGroupSwapchainCreateInfoKHR instance allocated on the thread-local MemoryStack.public static VkDeviceGroupSwapchainCreateInfoKHR callocStack()
VkDeviceGroupSwapchainCreateInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkDeviceGroupSwapchainCreateInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkDeviceGroupSwapchainCreateInfoKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkDeviceGroupSwapchainCreateInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkDeviceGroupSwapchainCreateInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkDeviceGroupSwapchainCreateInfoKHR.Buffer mallocStack(int capacity)
VkDeviceGroupSwapchainCreateInfoKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkDeviceGroupSwapchainCreateInfoKHR.Buffer callocStack(int capacity)
VkDeviceGroupSwapchainCreateInfoKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkDeviceGroupSwapchainCreateInfoKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDeviceGroupSwapchainCreateInfoKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkDeviceGroupSwapchainCreateInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDeviceGroupSwapchainCreateInfoKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static int nmodes(long struct)
modes().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nmodes(long struct,
int value)
modes.Copyright LWJGL. All Rights Reserved. License terms.