Package org.lwjgl.vulkan
Class VkQueueFamilyQueryResultStatusProperties2KHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkQueueFamilyQueryResultStatusProperties2KHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkQueueFamilyQueryResultStatusProperties2KHR extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifying support for result status query.Valid Usage (Implicit)
Layout
struct VkQueueFamilyQueryResultStatusProperties2KHR { VkStructureTypesType(); void *pNext(); VkBool32supported(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkQueueFamilyQueryResultStatusProperties2KHR.BufferAn array ofVkQueueFamilyQueryResultStatusProperties2KHRstructs.
-
Constructor Summary
Constructors Constructor Description VkQueueFamilyQueryResultStatusProperties2KHR(java.nio.ByteBuffer container)Creates aVkQueueFamilyQueryResultStatusProperties2KHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkQueueFamilyQueryResultStatusProperties2KHRcalloc()Returns a newVkQueueFamilyQueryResultStatusProperties2KHRinstance allocated withmemCalloc.static VkQueueFamilyQueryResultStatusProperties2KHR.Buffercalloc(int capacity)Returns a newVkQueueFamilyQueryResultStatusProperties2KHR.Bufferinstance allocated withmemCalloc.static VkQueueFamilyQueryResultStatusProperties2KHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkQueueFamilyQueryResultStatusProperties2KHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkQueueFamilyQueryResultStatusProperties2KHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkQueueFamilyQueryResultStatusProperties2KHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkQueueFamilyQueryResultStatusProperties2KHRcreate()Returns a newVkQueueFamilyQueryResultStatusProperties2KHRinstance allocated withBufferUtils.static VkQueueFamilyQueryResultStatusProperties2KHR.Buffercreate(int capacity)Returns a newVkQueueFamilyQueryResultStatusProperties2KHR.Bufferinstance allocated withBufferUtils.static VkQueueFamilyQueryResultStatusProperties2KHRcreate(long address)Returns a newVkQueueFamilyQueryResultStatusProperties2KHRinstance for the specified memory address.static VkQueueFamilyQueryResultStatusProperties2KHR.Buffercreate(long address, int capacity)Create aVkQueueFamilyQueryResultStatusProperties2KHR.Bufferinstance at the specified memory.static VkQueueFamilyQueryResultStatusProperties2KHRcreateSafe(long address)static VkQueueFamilyQueryResultStatusProperties2KHR.BuffercreateSafe(long address, int capacity)static VkQueueFamilyQueryResultStatusProperties2KHRmalloc()Returns a newVkQueueFamilyQueryResultStatusProperties2KHRinstance allocated withmemAlloc.static VkQueueFamilyQueryResultStatusProperties2KHR.Buffermalloc(int capacity)Returns a newVkQueueFamilyQueryResultStatusProperties2KHR.Bufferinstance allocated withmemAlloc.static VkQueueFamilyQueryResultStatusProperties2KHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkQueueFamilyQueryResultStatusProperties2KHR.Bufferinstance allocated on the specifiedMemoryStack.static VkQueueFamilyQueryResultStatusProperties2KHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkQueueFamilyQueryResultStatusProperties2KHRinstance allocated on the specifiedMemoryStack.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.static intnsupported(long struct)Unsafe version ofsupported().static voidnsupported(long struct, int value)Unsafe version ofsupported.longpNext()NULLor a pointer to a structure extending this structure.VkQueueFamilyQueryResultStatusProperties2KHRpNext(long value)Sets the specified value to thepNext()field.VkQueueFamilyQueryResultStatusProperties2KHRset(int sType, long pNext, boolean supported)Initializes this struct with the specified values.VkQueueFamilyQueryResultStatusProperties2KHRset(VkQueueFamilyQueryResultStatusProperties2KHR src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkQueueFamilyQueryResultStatusProperties2KHRsType(int value)Sets the specified value to thesType()field.VkQueueFamilyQueryResultStatusProperties2KHRsType$Default()Sets theSTRUCTURE_TYPE_QUEUE_FAMILY_QUERY_RESULT_STATUS_PROPERTIES_2_KHRvalue to thesType()field.booleansupported()reportsTRUEif query typeQUERY_TYPE_RESULT_STATUS_ONLY_KHRand use ofQUERY_RESULT_WITH_STATUS_BIT_KHRare supported.VkQueueFamilyQueryResultStatusProperties2KHRsupported(boolean value)Sets the specified value to thesupported()field.
-
-
-
Constructor Detail
-
VkQueueFamilyQueryResultStatusProperties2KHR
public VkQueueFamilyQueryResultStatusProperties2KHR(java.nio.ByteBuffer container)
Creates aVkQueueFamilyQueryResultStatusProperties2KHRinstance 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()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
supported
public boolean supported()
reportsTRUEif query typeQUERY_TYPE_RESULT_STATUS_ONLY_KHRand use ofQUERY_RESULT_WITH_STATUS_BIT_KHRare supported.
-
sType
public VkQueueFamilyQueryResultStatusProperties2KHR sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkQueueFamilyQueryResultStatusProperties2KHR sType$Default()
Sets theSTRUCTURE_TYPE_QUEUE_FAMILY_QUERY_RESULT_STATUS_PROPERTIES_2_KHRvalue to thesType()field.
-
pNext
public VkQueueFamilyQueryResultStatusProperties2KHR pNext(long value)
Sets the specified value to thepNext()field.
-
supported
public VkQueueFamilyQueryResultStatusProperties2KHR supported(boolean value)
Sets the specified value to thesupported()field.
-
set
public VkQueueFamilyQueryResultStatusProperties2KHR set(int sType, long pNext, boolean supported)
Initializes this struct with the specified values.
-
set
public VkQueueFamilyQueryResultStatusProperties2KHR set(VkQueueFamilyQueryResultStatusProperties2KHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkQueueFamilyQueryResultStatusProperties2KHR malloc()
Returns a newVkQueueFamilyQueryResultStatusProperties2KHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkQueueFamilyQueryResultStatusProperties2KHR calloc()
Returns a newVkQueueFamilyQueryResultStatusProperties2KHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkQueueFamilyQueryResultStatusProperties2KHR create()
Returns a newVkQueueFamilyQueryResultStatusProperties2KHRinstance allocated withBufferUtils.
-
create
public static VkQueueFamilyQueryResultStatusProperties2KHR create(long address)
Returns a newVkQueueFamilyQueryResultStatusProperties2KHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkQueueFamilyQueryResultStatusProperties2KHR createSafe(long address)
-
malloc
public static VkQueueFamilyQueryResultStatusProperties2KHR.Buffer malloc(int capacity)
Returns a newVkQueueFamilyQueryResultStatusProperties2KHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkQueueFamilyQueryResultStatusProperties2KHR.Buffer calloc(int capacity)
Returns a newVkQueueFamilyQueryResultStatusProperties2KHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkQueueFamilyQueryResultStatusProperties2KHR.Buffer create(int capacity)
Returns a newVkQueueFamilyQueryResultStatusProperties2KHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkQueueFamilyQueryResultStatusProperties2KHR.Buffer create(long address, int capacity)
Create aVkQueueFamilyQueryResultStatusProperties2KHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkQueueFamilyQueryResultStatusProperties2KHR.Buffer createSafe(long address, int capacity)
-
malloc
public static VkQueueFamilyQueryResultStatusProperties2KHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkQueueFamilyQueryResultStatusProperties2KHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkQueueFamilyQueryResultStatusProperties2KHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkQueueFamilyQueryResultStatusProperties2KHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkQueueFamilyQueryResultStatusProperties2KHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkQueueFamilyQueryResultStatusProperties2KHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkQueueFamilyQueryResultStatusProperties2KHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkQueueFamilyQueryResultStatusProperties2KHR.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().
-
nsupported
public static int nsupported(long struct)
Unsafe version ofsupported().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nsupported
public static void nsupported(long struct, int value)Unsafe version ofsupported.
-
-