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.NativeResourceSpecify a system wide priority.Description
A queue created without specifying
VkDeviceQueueGlobalPriorityCreateInfoEXTwill default toQUEUE_GLOBAL_PRIORITY_MEDIUM_EXT.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_EXTglobalPrioritymust be a validVkQueueGlobalPriorityEXTvalue
Member documentation
sType– the type of this structure.pNext–NULLor 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 classVkDeviceQueueGlobalPriorityCreateInfoEXT.BufferAn array ofVkDeviceQueueGlobalPriorityCreateInfoEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intGLOBALPRIORITY
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkDeviceQueueGlobalPriorityCreateInfoEXT(java.nio.ByteBuffer container)Creates aVkDeviceQueueGlobalPriorityCreateInfoEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkDeviceQueueGlobalPriorityCreateInfoEXTcalloc()Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXTinstance allocated withmemCalloc.static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffercalloc(int capacity)Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT.Bufferinstance allocated withmemCalloc.static VkDeviceQueueGlobalPriorityCreateInfoEXTcallocStack()Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXTinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkDeviceQueueGlobalPriorityCreateInfoEXT.BuffercallocStack(int capacity)Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkDeviceQueueGlobalPriorityCreateInfoEXT.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDeviceQueueGlobalPriorityCreateInfoEXTcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDeviceQueueGlobalPriorityCreateInfoEXTcreate()Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXTinstance allocated withBufferUtils.static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffercreate(int capacity)Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT.Bufferinstance allocated withBufferUtils.static VkDeviceQueueGlobalPriorityCreateInfoEXTcreate(long address)Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXTinstance for the specified memory address.static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffercreate(long address, int capacity)Create aVkDeviceQueueGlobalPriorityCreateInfoEXT.Bufferinstance at the specified memory.static VkDeviceQueueGlobalPriorityCreateInfoEXTcreateSafe(long address)static VkDeviceQueueGlobalPriorityCreateInfoEXT.BuffercreateSafe(long address, int capacity)intglobalPriority()Returns the value of theglobalPriorityfield.VkDeviceQueueGlobalPriorityCreateInfoEXTglobalPriority(int value)Sets the specified value to theglobalPriorityfield.static VkDeviceQueueGlobalPriorityCreateInfoEXTmalloc()Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXTinstance allocated withmemAlloc.static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffermalloc(int capacity)Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT.Bufferinstance allocated withmemAlloc.static VkDeviceQueueGlobalPriorityCreateInfoEXTmallocStack()Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXTinstance allocated on the thread-localMemoryStack.static VkDeviceQueueGlobalPriorityCreateInfoEXT.BuffermallocStack(int capacity)Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT.Bufferinstance allocated on the thread-localMemoryStack.static VkDeviceQueueGlobalPriorityCreateInfoEXT.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkDeviceQueueGlobalPriorityCreateInfoEXTmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXTinstance allocated on the specifiedMemoryStack.static intnglobalPriority(long struct)Unsafe version ofglobalPriority().static voidnglobalPriority(long struct, int value)Unsafe version ofglobalPriority.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.longpNext()Returns the value of thepNextfield.VkDeviceQueueGlobalPriorityCreateInfoEXTpNext(long value)Sets the specified value to thepNextfield.VkDeviceQueueGlobalPriorityCreateInfoEXTset(int sType, long pNext, int globalPriority)Initializes this struct with the specified values.VkDeviceQueueGlobalPriorityCreateInfoEXTset(VkDeviceQueueGlobalPriorityCreateInfoEXT src)Copies the specified struct data to this struct.intsizeof()intsType()Returns the value of thesTypefield.VkDeviceQueueGlobalPriorityCreateInfoEXTsType(int value)Sets the specified value to thesTypefield.
-
-
-
Constructor Detail
-
VkDeviceQueueGlobalPriorityCreateInfoEXT
public VkDeviceQueueGlobalPriorityCreateInfoEXT(java.nio.ByteBuffer container)
Creates aVkDeviceQueueGlobalPriorityCreateInfoEXTinstance at the current position of the specifiedByteBuffercontainer. 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:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
Returns the value of thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
globalPriority
public int globalPriority()
Returns the value of theglobalPriorityfield.
-
sType
public VkDeviceQueueGlobalPriorityCreateInfoEXT sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkDeviceQueueGlobalPriorityCreateInfoEXT pNext(long value)
Sets the specified value to thepNextfield.
-
globalPriority
public VkDeviceQueueGlobalPriorityCreateInfoEXT globalPriority(int value)
Sets the specified value to theglobalPriorityfield.
-
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 newVkDeviceQueueGlobalPriorityCreateInfoEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkDeviceQueueGlobalPriorityCreateInfoEXT calloc()
Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkDeviceQueueGlobalPriorityCreateInfoEXT create()
Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXTinstance allocated withBufferUtils.
-
create
public static VkDeviceQueueGlobalPriorityCreateInfoEXT create(long address)
Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkDeviceQueueGlobalPriorityCreateInfoEXT createSafe(long address)
-
malloc
public static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer malloc(int capacity)
Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer calloc(int capacity)
Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer create(int capacity)
Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer create(long address, int capacity)
Create aVkDeviceQueueGlobalPriorityCreateInfoEXT.Bufferinstance 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 newVkDeviceQueueGlobalPriorityCreateInfoEXTinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkDeviceQueueGlobalPriorityCreateInfoEXT callocStack()
Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXTinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkDeviceQueueGlobalPriorityCreateInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkDeviceQueueGlobalPriorityCreateInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXTinstance allocated on the specifiedMemoryStackand 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.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkDeviceQueueGlobalPriorityCreateInfoEXT.Buffer callocStack(int capacity)
Returns a newVkDeviceQueueGlobalPriorityCreateInfoEXT.Bufferinstance allocated on the thread-localMemoryStackand 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.Bufferinstance 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.Bufferinstance allocated on the specifiedMemoryStackand 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.
-
-