Package org.lwjgl.vulkan
Class VkQueueFamilyGlobalPriorityPropertiesEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkQueueFamilyGlobalPriorityPropertiesKHR
-
- org.lwjgl.vulkan.VkQueueFamilyGlobalPriorityPropertiesEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkQueueFamilyGlobalPriorityPropertiesEXT extends VkQueueFamilyGlobalPriorityPropertiesKHR
SeeVkQueueFamilyGlobalPriorityPropertiesKHR.Layout
struct VkQueueFamilyGlobalPriorityPropertiesEXT { VkStructureType sType; void * pNext; uint32_t priorityCount; VkQueueGlobalPriorityKHR priorities[VK_MAX_GLOBAL_PRIORITY_SIZE_KHR]; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkQueueFamilyGlobalPriorityPropertiesEXT.BufferAn array ofVkQueueFamilyGlobalPriorityPropertiesEXTstructs.
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Fields inherited from class org.lwjgl.vulkan.VkQueueFamilyGlobalPriorityPropertiesKHR
ALIGNOF, PNEXT, PRIORITIES, PRIORITYCOUNT, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkQueueFamilyGlobalPriorityPropertiesEXT(java.nio.ByteBuffer container)Creates aVkQueueFamilyGlobalPriorityPropertiesEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkQueueFamilyGlobalPriorityPropertiesEXTcalloc()Returns a newVkQueueFamilyGlobalPriorityPropertiesEXTinstance allocated withmemCalloc.static VkQueueFamilyGlobalPriorityPropertiesEXT.Buffercalloc(int capacity)Returns a newVkQueueFamilyGlobalPriorityPropertiesEXT.Bufferinstance allocated withmemCalloc.static VkQueueFamilyGlobalPriorityPropertiesEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkQueueFamilyGlobalPriorityPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkQueueFamilyGlobalPriorityPropertiesEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkQueueFamilyGlobalPriorityPropertiesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkQueueFamilyGlobalPriorityPropertiesEXTcreate()Returns a newVkQueueFamilyGlobalPriorityPropertiesEXTinstance allocated withBufferUtils.static VkQueueFamilyGlobalPriorityPropertiesEXT.Buffercreate(int capacity)Returns a newVkQueueFamilyGlobalPriorityPropertiesEXT.Bufferinstance allocated withBufferUtils.static VkQueueFamilyGlobalPriorityPropertiesEXTcreate(long address)Returns a newVkQueueFamilyGlobalPriorityPropertiesEXTinstance for the specified memory address.static VkQueueFamilyGlobalPriorityPropertiesEXT.Buffercreate(long address, int capacity)Create aVkQueueFamilyGlobalPriorityPropertiesEXT.Bufferinstance at the specified memory.static VkQueueFamilyGlobalPriorityPropertiesEXTcreateSafe(long address)static VkQueueFamilyGlobalPriorityPropertiesEXT.BuffercreateSafe(long address, int capacity)static VkQueueFamilyGlobalPriorityPropertiesEXTmalloc()Returns a newVkQueueFamilyGlobalPriorityPropertiesEXTinstance allocated withmemAlloc.static VkQueueFamilyGlobalPriorityPropertiesEXT.Buffermalloc(int capacity)Returns a newVkQueueFamilyGlobalPriorityPropertiesEXT.Bufferinstance allocated withmemAlloc.static VkQueueFamilyGlobalPriorityPropertiesEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkQueueFamilyGlobalPriorityPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkQueueFamilyGlobalPriorityPropertiesEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkQueueFamilyGlobalPriorityPropertiesEXTinstance allocated on the specifiedMemoryStack.VkQueueFamilyGlobalPriorityPropertiesEXTpNext(long value)Sets the specified value to thepNextfield.VkQueueFamilyGlobalPriorityPropertiesEXTpriorities(int index, int value)Sets the specified value at the specified index of theprioritiesfield.VkQueueFamilyGlobalPriorityPropertiesEXTpriorities(java.nio.IntBuffer value)Copies the specifiedIntBufferto theprioritiesfield.VkQueueFamilyGlobalPriorityPropertiesEXTpriorityCount(int value)Sets the specified value to thepriorityCountfield.VkQueueFamilyGlobalPriorityPropertiesEXTset(int sType, long pNext, int priorityCount, java.nio.IntBuffer priorities)Initializes this struct with the specified values.VkQueueFamilyGlobalPriorityPropertiesEXTset(VkQueueFamilyGlobalPriorityPropertiesEXT src)Copies the specified struct data to this struct.VkQueueFamilyGlobalPriorityPropertiesEXTsType(int value)Sets the specified value to thesTypefield.VkQueueFamilyGlobalPriorityPropertiesEXTsType$Default()Sets theSTRUCTURE_TYPE_QUEUE_FAMILY_GLOBAL_PRIORITY_PROPERTIES_KHRvalue to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkQueueFamilyGlobalPriorityPropertiesKHR
npNext, npNext, npriorities, npriorities, npriorities, npriorities, npriorityCount, npriorityCount, nsType, nsType, pNext, priorities, priorities, priorityCount, set, sizeof, sType
-
-
-
-
Constructor Detail
-
VkQueueFamilyGlobalPriorityPropertiesEXT
public VkQueueFamilyGlobalPriorityPropertiesEXT(java.nio.ByteBuffer container)
Creates aVkQueueFamilyGlobalPriorityPropertiesEXTinstance 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
-
sType
public VkQueueFamilyGlobalPriorityPropertiesEXT sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkQueueFamilyGlobalPriorityPropertiesKHR
-
sType$Default
public VkQueueFamilyGlobalPriorityPropertiesEXT sType$Default()
Sets theSTRUCTURE_TYPE_QUEUE_FAMILY_GLOBAL_PRIORITY_PROPERTIES_KHRvalue to thesTypefield.- Overrides:
sType$Defaultin classVkQueueFamilyGlobalPriorityPropertiesKHR
-
pNext
public VkQueueFamilyGlobalPriorityPropertiesEXT pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkQueueFamilyGlobalPriorityPropertiesKHR
-
priorityCount
public VkQueueFamilyGlobalPriorityPropertiesEXT priorityCount(int value)
Sets the specified value to thepriorityCountfield.- Overrides:
priorityCountin classVkQueueFamilyGlobalPriorityPropertiesKHR
-
priorities
public VkQueueFamilyGlobalPriorityPropertiesEXT priorities(java.nio.IntBuffer value)
Copies the specifiedIntBufferto theprioritiesfield.- Overrides:
prioritiesin classVkQueueFamilyGlobalPriorityPropertiesKHR
-
priorities
public VkQueueFamilyGlobalPriorityPropertiesEXT priorities(int index, int value)
Sets the specified value at the specified index of theprioritiesfield.- Overrides:
prioritiesin classVkQueueFamilyGlobalPriorityPropertiesKHR
-
set
public VkQueueFamilyGlobalPriorityPropertiesEXT set(int sType, long pNext, int priorityCount, java.nio.IntBuffer priorities)
Initializes this struct with the specified values.- Overrides:
setin classVkQueueFamilyGlobalPriorityPropertiesKHR
-
set
public VkQueueFamilyGlobalPriorityPropertiesEXT set(VkQueueFamilyGlobalPriorityPropertiesEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkQueueFamilyGlobalPriorityPropertiesEXT malloc()
Returns a newVkQueueFamilyGlobalPriorityPropertiesEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkQueueFamilyGlobalPriorityPropertiesEXT calloc()
Returns a newVkQueueFamilyGlobalPriorityPropertiesEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkQueueFamilyGlobalPriorityPropertiesEXT create()
Returns a newVkQueueFamilyGlobalPriorityPropertiesEXTinstance allocated withBufferUtils.
-
create
public static VkQueueFamilyGlobalPriorityPropertiesEXT create(long address)
Returns a newVkQueueFamilyGlobalPriorityPropertiesEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkQueueFamilyGlobalPriorityPropertiesEXT createSafe(long address)
-
malloc
public static VkQueueFamilyGlobalPriorityPropertiesEXT.Buffer malloc(int capacity)
Returns a newVkQueueFamilyGlobalPriorityPropertiesEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkQueueFamilyGlobalPriorityPropertiesEXT.Buffer calloc(int capacity)
Returns a newVkQueueFamilyGlobalPriorityPropertiesEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkQueueFamilyGlobalPriorityPropertiesEXT.Buffer create(int capacity)
Returns a newVkQueueFamilyGlobalPriorityPropertiesEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkQueueFamilyGlobalPriorityPropertiesEXT.Buffer create(long address, int capacity)
Create aVkQueueFamilyGlobalPriorityPropertiesEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkQueueFamilyGlobalPriorityPropertiesEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkQueueFamilyGlobalPriorityPropertiesEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkQueueFamilyGlobalPriorityPropertiesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkQueueFamilyGlobalPriorityPropertiesEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkQueueFamilyGlobalPriorityPropertiesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkQueueFamilyGlobalPriorityPropertiesEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkQueueFamilyGlobalPriorityPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkQueueFamilyGlobalPriorityPropertiesEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkQueueFamilyGlobalPriorityPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-