Package org.lwjgl.vulkan
Class VkPhysicalDeviceGlobalPriorityQueryFeaturesEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceGlobalPriorityQueryFeaturesKHR
-
- org.lwjgl.vulkan.VkPhysicalDeviceGlobalPriorityQueryFeaturesEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceGlobalPriorityQueryFeaturesEXT extends VkPhysicalDeviceGlobalPriorityQueryFeaturesKHR
SeeVkPhysicalDeviceGlobalPriorityQueryFeaturesKHR.Layout
struct VkPhysicalDeviceGlobalPriorityQueryFeaturesEXT { VkStructureType sType; void * pNext; VkBool32 globalPriorityQuery; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceGlobalPriorityQueryFeaturesEXT.BufferAn array ofVkPhysicalDeviceGlobalPriorityQueryFeaturesEXTstructs.
-
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.VkPhysicalDeviceGlobalPriorityQueryFeaturesKHR
ALIGNOF, GLOBALPRIORITYQUERY, PNEXT, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceGlobalPriorityQueryFeaturesEXT(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceGlobalPriorityQueryFeaturesEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceGlobalPriorityQueryFeaturesEXTcalloc()Returns a newVkPhysicalDeviceGlobalPriorityQueryFeaturesEXTinstance allocated withmemCalloc.static VkPhysicalDeviceGlobalPriorityQueryFeaturesEXT.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceGlobalPriorityQueryFeaturesEXT.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceGlobalPriorityQueryFeaturesEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceGlobalPriorityQueryFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceGlobalPriorityQueryFeaturesEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceGlobalPriorityQueryFeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceGlobalPriorityQueryFeaturesEXTcreate()Returns a newVkPhysicalDeviceGlobalPriorityQueryFeaturesEXTinstance allocated withBufferUtils.static VkPhysicalDeviceGlobalPriorityQueryFeaturesEXT.Buffercreate(int capacity)Returns a newVkPhysicalDeviceGlobalPriorityQueryFeaturesEXT.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceGlobalPriorityQueryFeaturesEXTcreate(long address)Returns a newVkPhysicalDeviceGlobalPriorityQueryFeaturesEXTinstance for the specified memory address.static VkPhysicalDeviceGlobalPriorityQueryFeaturesEXT.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceGlobalPriorityQueryFeaturesEXT.Bufferinstance at the specified memory.static VkPhysicalDeviceGlobalPriorityQueryFeaturesEXTcreateSafe(long address)static VkPhysicalDeviceGlobalPriorityQueryFeaturesEXT.BuffercreateSafe(long address, int capacity)VkPhysicalDeviceGlobalPriorityQueryFeaturesEXTglobalPriorityQuery(boolean value)Sets the specified value to theglobalPriorityQueryfield.static VkPhysicalDeviceGlobalPriorityQueryFeaturesEXTmalloc()Returns a newVkPhysicalDeviceGlobalPriorityQueryFeaturesEXTinstance allocated withmemAlloc.static VkPhysicalDeviceGlobalPriorityQueryFeaturesEXT.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceGlobalPriorityQueryFeaturesEXT.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceGlobalPriorityQueryFeaturesEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceGlobalPriorityQueryFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceGlobalPriorityQueryFeaturesEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceGlobalPriorityQueryFeaturesEXTinstance allocated on the specifiedMemoryStack.VkPhysicalDeviceGlobalPriorityQueryFeaturesEXTpNext(long value)Sets the specified value to thepNextfield.VkPhysicalDeviceGlobalPriorityQueryFeaturesEXTset(int sType, long pNext, boolean globalPriorityQuery)Initializes this struct with the specified values.VkPhysicalDeviceGlobalPriorityQueryFeaturesEXTset(VkPhysicalDeviceGlobalPriorityQueryFeaturesEXT src)Copies the specified struct data to this struct.VkPhysicalDeviceGlobalPriorityQueryFeaturesEXTsType(int value)Sets the specified value to thesTypefield.VkPhysicalDeviceGlobalPriorityQueryFeaturesEXTsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_GLOBAL_PRIORITY_QUERY_FEATURES_KHRvalue to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkPhysicalDeviceGlobalPriorityQueryFeaturesKHR
globalPriorityQuery, nglobalPriorityQuery, nglobalPriorityQuery, npNext, npNext, nsType, nsType, pNext, set, sizeof, sType
-
-
-
-
Constructor Detail
-
VkPhysicalDeviceGlobalPriorityQueryFeaturesEXT
public VkPhysicalDeviceGlobalPriorityQueryFeaturesEXT(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceGlobalPriorityQueryFeaturesEXTinstance 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 VkPhysicalDeviceGlobalPriorityQueryFeaturesEXT sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkPhysicalDeviceGlobalPriorityQueryFeaturesKHR
-
sType$Default
public VkPhysicalDeviceGlobalPriorityQueryFeaturesEXT sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_GLOBAL_PRIORITY_QUERY_FEATURES_KHRvalue to thesTypefield.- Overrides:
sType$Defaultin classVkPhysicalDeviceGlobalPriorityQueryFeaturesKHR
-
pNext
public VkPhysicalDeviceGlobalPriorityQueryFeaturesEXT pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkPhysicalDeviceGlobalPriorityQueryFeaturesKHR
-
globalPriorityQuery
public VkPhysicalDeviceGlobalPriorityQueryFeaturesEXT globalPriorityQuery(boolean value)
Sets the specified value to theglobalPriorityQueryfield.- Overrides:
globalPriorityQueryin classVkPhysicalDeviceGlobalPriorityQueryFeaturesKHR
-
set
public VkPhysicalDeviceGlobalPriorityQueryFeaturesEXT set(int sType, long pNext, boolean globalPriorityQuery)
Initializes this struct with the specified values.- Overrides:
setin classVkPhysicalDeviceGlobalPriorityQueryFeaturesKHR
-
set
public VkPhysicalDeviceGlobalPriorityQueryFeaturesEXT set(VkPhysicalDeviceGlobalPriorityQueryFeaturesEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceGlobalPriorityQueryFeaturesEXT malloc()
Returns a newVkPhysicalDeviceGlobalPriorityQueryFeaturesEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceGlobalPriorityQueryFeaturesEXT calloc()
Returns a newVkPhysicalDeviceGlobalPriorityQueryFeaturesEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceGlobalPriorityQueryFeaturesEXT create()
Returns a newVkPhysicalDeviceGlobalPriorityQueryFeaturesEXTinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceGlobalPriorityQueryFeaturesEXT create(long address)
Returns a newVkPhysicalDeviceGlobalPriorityQueryFeaturesEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceGlobalPriorityQueryFeaturesEXT createSafe(long address)
-
malloc
public static VkPhysicalDeviceGlobalPriorityQueryFeaturesEXT.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceGlobalPriorityQueryFeaturesEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceGlobalPriorityQueryFeaturesEXT.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceGlobalPriorityQueryFeaturesEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceGlobalPriorityQueryFeaturesEXT.Buffer create(int capacity)
Returns a newVkPhysicalDeviceGlobalPriorityQueryFeaturesEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceGlobalPriorityQueryFeaturesEXT.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceGlobalPriorityQueryFeaturesEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceGlobalPriorityQueryFeaturesEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceGlobalPriorityQueryFeaturesEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceGlobalPriorityQueryFeaturesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceGlobalPriorityQueryFeaturesEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceGlobalPriorityQueryFeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceGlobalPriorityQueryFeaturesEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceGlobalPriorityQueryFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceGlobalPriorityQueryFeaturesEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceGlobalPriorityQueryFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-