public class VkDeviceQueueGlobalPriorityCreateInfoEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
A queue created without specifying VkDeviceQueueGlobalPriorityCreateInfoEXT will default to QUEUE_GLOBAL_PRIORITY_MEDIUM_EXT.
sType must be STRUCTURE_TYPE_DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_EXTglobalPriority must be a valid VkQueueGlobalPriorityEXT valuesType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.globalPriority – the system-wide priority associated to this queue as specified by VkQueueGlobalPriorityEXT
struct VkDeviceQueueGlobalPriorityCreateInfoEXT {
VkStructureType sType;
void const * pNext;
VkQueueGlobalPriorityEXT globalPriority;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer
An array of
VkDeviceQueueGlobalPriorityCreateInfoEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
GLOBALPRIORITY
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 |
|---|
VkDeviceQueueGlobalPriorityCreateInfoEXT(java.nio.ByteBuffer container)
Creates a
VkDeviceQueueGlobalPriorityCreateInfoEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkDeviceQueueGlobalPriorityCreateInfoEXT |
calloc()
Returns a new
VkDeviceQueueGlobalPriorityCreateInfoEXT instance allocated with memCalloc. |
static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer |
calloc(int capacity)
Returns a new
VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer instance allocated with memCalloc. |
static VkDeviceQueueGlobalPriorityCreateInfoEXT |
callocStack()
Returns a new
VkDeviceQueueGlobalPriorityCreateInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer |
callocStack(int capacity)
Returns a new
VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkDeviceQueueGlobalPriorityCreateInfoEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDeviceQueueGlobalPriorityCreateInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkDeviceQueueGlobalPriorityCreateInfoEXT |
create()
Returns a new
VkDeviceQueueGlobalPriorityCreateInfoEXT instance allocated with BufferUtils. |
static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer |
create(int capacity)
Returns a new
VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer instance allocated with BufferUtils. |
static VkDeviceQueueGlobalPriorityCreateInfoEXT |
create(long address)
Returns a new
VkDeviceQueueGlobalPriorityCreateInfoEXT instance for the specified memory address. |
static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer |
create(long address,
int capacity)
Create a
VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer instance at the specified memory. |
static VkDeviceQueueGlobalPriorityCreateInfoEXT |
createSafe(long address)
|
static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer |
createSafe(long address,
int capacity)
|
int |
globalPriority()
Returns the value of the
globalPriority field. |
VkDeviceQueueGlobalPriorityCreateInfoEXT |
globalPriority(int value)
Sets the specified value to the
globalPriority field. |
static VkDeviceQueueGlobalPriorityCreateInfoEXT |
malloc()
Returns a new
VkDeviceQueueGlobalPriorityCreateInfoEXT instance allocated with memAlloc. |
static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer |
malloc(int capacity)
Returns a new
VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer instance allocated with memAlloc. |
static VkDeviceQueueGlobalPriorityCreateInfoEXT |
mallocStack()
Returns a new
VkDeviceQueueGlobalPriorityCreateInfoEXT instance allocated on the thread-local MemoryStack. |
static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer instance allocated on the specified MemoryStack. |
static VkDeviceQueueGlobalPriorityCreateInfoEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDeviceQueueGlobalPriorityCreateInfoEXT instance allocated on the specified MemoryStack. |
static int |
nglobalPriority(long struct)
Unsafe version of
globalPriority(). |
static void |
nglobalPriority(long struct,
int value)
Unsafe version of
globalPriority. |
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. |
VkDeviceQueueGlobalPriorityCreateInfoEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkDeviceQueueGlobalPriorityCreateInfoEXT |
set(int sType,
long pNext,
int globalPriority)
Initializes this struct with the specified values.
|
VkDeviceQueueGlobalPriorityCreateInfoEXT |
set(VkDeviceQueueGlobalPriorityCreateInfoEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkDeviceQueueGlobalPriorityCreateInfoEXT |
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 GLOBALPRIORITY
public VkDeviceQueueGlobalPriorityCreateInfoEXT(java.nio.ByteBuffer container)
VkDeviceQueueGlobalPriorityCreateInfoEXT 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 globalPriority()
globalPriority field.public VkDeviceQueueGlobalPriorityCreateInfoEXT sType(int value)
sType field.public VkDeviceQueueGlobalPriorityCreateInfoEXT pNext(long value)
pNext field.public VkDeviceQueueGlobalPriorityCreateInfoEXT globalPriority(int value)
globalPriority field.public VkDeviceQueueGlobalPriorityCreateInfoEXT set(int sType, long pNext, int globalPriority)
public VkDeviceQueueGlobalPriorityCreateInfoEXT set(VkDeviceQueueGlobalPriorityCreateInfoEXT src)
src - the source structpublic static VkDeviceQueueGlobalPriorityCreateInfoEXT malloc()
VkDeviceQueueGlobalPriorityCreateInfoEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkDeviceQueueGlobalPriorityCreateInfoEXT calloc()
VkDeviceQueueGlobalPriorityCreateInfoEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkDeviceQueueGlobalPriorityCreateInfoEXT create()
VkDeviceQueueGlobalPriorityCreateInfoEXT instance allocated with BufferUtils.public static VkDeviceQueueGlobalPriorityCreateInfoEXT create(long address)
VkDeviceQueueGlobalPriorityCreateInfoEXT instance for the specified memory address.@Nullable public static VkDeviceQueueGlobalPriorityCreateInfoEXT createSafe(long address)
public static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer malloc(int capacity)
VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer calloc(int capacity)
VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer create(int capacity)
VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer create(long address, int capacity)
VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer createSafe(long address, int capacity)
public static VkDeviceQueueGlobalPriorityCreateInfoEXT mallocStack()
VkDeviceQueueGlobalPriorityCreateInfoEXT instance allocated on the thread-local MemoryStack.public static VkDeviceQueueGlobalPriorityCreateInfoEXT callocStack()
VkDeviceQueueGlobalPriorityCreateInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkDeviceQueueGlobalPriorityCreateInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkDeviceQueueGlobalPriorityCreateInfoEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkDeviceQueueGlobalPriorityCreateInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkDeviceQueueGlobalPriorityCreateInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer mallocStack(int capacity)
VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer callocStack(int capacity)
VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDeviceQueueGlobalPriorityCreateInfoEXT.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 nglobalPriority(long struct)
globalPriority().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nglobalPriority(long struct,
int value)
globalPriority.Copyright LWJGL. All Rights Reserved. License terms.