Package org.lwjgl.vulkan
Class VkDeviceQueueGlobalPriorityCreateInfoEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkDeviceQueueGlobalPriorityCreateInfoEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
public class VkDeviceQueueGlobalPriorityCreateInfoEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResource
Specify a system wide priority.Description
A queue created without specifying
VkDeviceQueueGlobalPriorityCreateInfoEXT
will default toQUEUE_GLOBAL_PRIORITY_MEDIUM_EXT
.Valid Usage (Implicit)
sType
must beSTRUCTURE_TYPE_DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_EXT
globalPriority
must be a validVkQueueGlobalPriorityEXT
value
Member documentation
sType
– 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 byVkQueueGlobalPriorityEXT
Layout
struct VkDeviceQueueGlobalPriorityCreateInfoEXT { VkStructureType sType; void const * pNext; VkQueueGlobalPriorityEXT globalPriority; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer
An array ofVkDeviceQueueGlobalPriorityCreateInfoEXT
structs.
-
Field Summary
Fields Modifier and Type Field Description static int
ALIGNOF
The struct alignment in bytes.static int
GLOBALPRIORITY
PNEXTThe struct member offsets.static int
SIZEOF
The struct size in bytes.static int
STYPE
The struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkDeviceQueueGlobalPriorityCreateInfoEXT(java.nio.ByteBuffer container)
Creates aVkDeviceQueueGlobalPriorityCreateInfoEXT
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkDeviceQueueGlobalPriorityCreateInfoEXT
calloc()
Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT
instance allocated withmemCalloc
.static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer
calloc(int capacity)
Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer
instance allocated withmemCalloc
.static VkDeviceQueueGlobalPriorityCreateInfoEXT
callocStack()
Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer
callocStack(int capacity)
Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkDeviceQueueGlobalPriorityCreateInfoEXT
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkDeviceQueueGlobalPriorityCreateInfoEXT
create()
Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT
instance allocated withBufferUtils
.static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer
create(int capacity)
Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer
instance allocated withBufferUtils
.static VkDeviceQueueGlobalPriorityCreateInfoEXT
create(long address)
Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT
instance for the specified memory address.static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer
create(long address, int capacity)
Create aVkDeviceQueueGlobalPriorityCreateInfoEXT.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 theglobalPriority
field.VkDeviceQueueGlobalPriorityCreateInfoEXT
globalPriority(int value)
Sets the specified value to theglobalPriority
field.static VkDeviceQueueGlobalPriorityCreateInfoEXT
malloc()
Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT
instance allocated withmemAlloc
.static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer
malloc(int capacity)
Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer
instance allocated withmemAlloc
.static VkDeviceQueueGlobalPriorityCreateInfoEXT
mallocStack()
Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT
instance allocated on the thread-localMemoryStack
.static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer
mallocStack(int capacity)
Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer
instance allocated on the thread-localMemoryStack
.static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer
instance allocated on the specifiedMemoryStack
.static VkDeviceQueueGlobalPriorityCreateInfoEXT
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT
instance allocated on the specifiedMemoryStack
.static int
nglobalPriority(long struct)
Unsafe version ofglobalPriority()
.static void
nglobalPriority(long struct, int value)
Unsafe version ofglobalPriority
.static long
npNext(long struct)
Unsafe version ofpNext()
.static void
npNext(long struct, long value)
Unsafe version ofpNext
.static int
nsType(long struct)
Unsafe version ofsType()
.static void
nsType(long struct, int value)
Unsafe version ofsType
.long
pNext()
Returns the value of thepNext
field.VkDeviceQueueGlobalPriorityCreateInfoEXT
pNext(long value)
Sets the specified value to thepNext
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 thesType
field.VkDeviceQueueGlobalPriorityCreateInfoEXT
sType(int value)
Sets the specified value to thesType
field.
-
-
-
Constructor Detail
-
VkDeviceQueueGlobalPriorityCreateInfoEXT
public VkDeviceQueueGlobalPriorityCreateInfoEXT(java.nio.ByteBuffer container)
Creates aVkDeviceQueueGlobalPriorityCreateInfoEXT
instance at the current position of the specifiedByteBuffer
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.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeof
in classorg.lwjgl.system.Struct
-
sType
public int sType()
Returns the value of thesType
field.
-
pNext
public long pNext()
Returns the value of thepNext
field.
-
globalPriority
public int globalPriority()
Returns the value of theglobalPriority
field.
-
sType
public VkDeviceQueueGlobalPriorityCreateInfoEXT sType(int value)
Sets the specified value to thesType
field.
-
pNext
public VkDeviceQueueGlobalPriorityCreateInfoEXT pNext(long value)
Sets the specified value to thepNext
field.
-
globalPriority
public VkDeviceQueueGlobalPriorityCreateInfoEXT globalPriority(int value)
Sets the specified value to theglobalPriority
field.
-
set
public VkDeviceQueueGlobalPriorityCreateInfoEXT set(int sType, long pNext, int globalPriority)
Initializes this struct with the specified values.
-
set
public VkDeviceQueueGlobalPriorityCreateInfoEXT set(VkDeviceQueueGlobalPriorityCreateInfoEXT src)
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
public static VkDeviceQueueGlobalPriorityCreateInfoEXT malloc()
Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkDeviceQueueGlobalPriorityCreateInfoEXT calloc()
Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkDeviceQueueGlobalPriorityCreateInfoEXT create()
Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT
instance allocated withBufferUtils
.
-
create
public static VkDeviceQueueGlobalPriorityCreateInfoEXT create(long address)
Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT
instance for the specified memory address.
-
createSafe
@Nullable public static VkDeviceQueueGlobalPriorityCreateInfoEXT createSafe(long address)
-
malloc
public static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer malloc(int capacity)
Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer calloc(int capacity)
Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer create(int capacity)
Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer create(long address, int capacity)
Create aVkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkDeviceQueueGlobalPriorityCreateInfoEXT mallocStack()
Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkDeviceQueueGlobalPriorityCreateInfoEXT callocStack()
Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkDeviceQueueGlobalPriorityCreateInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkDeviceQueueGlobalPriorityCreateInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
mallocStack
public static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer mallocStack(int capacity)
Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer callocStack(int capacity)
Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacity
-
mallocStack
public static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
callocStack
public static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType()
.
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext()
.
-
nglobalPriority
public static int nglobalPriority(long struct)
Unsafe version ofglobalPriority()
.
-
nsType
public static void nsType(long struct, int value)
Unsafe version ofsType
.
-
npNext
public static void npNext(long struct, long value)
Unsafe version ofpNext
.
-
nglobalPriority
public static void nglobalPriority(long struct, int value)
Unsafe version ofglobalPriority
.
-
-