Package org.lwjgl.vulkan
Class VkPhysicalDeviceIDPropertiesKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceIDProperties
-
- org.lwjgl.vulkan.VkPhysicalDeviceIDPropertiesKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
public class VkPhysicalDeviceIDPropertiesKHR extends VkPhysicalDeviceIDProperties
SeeVkPhysicalDeviceIDProperties
.Layout
struct VkPhysicalDeviceIDPropertiesKHR { VkStructureType sType; void * pNext; uint8_t deviceUUID[VK_UUID_SIZE]; uint8_t driverUUID[VK_UUID_SIZE]; uint8_t deviceLUID[VK_LUID_SIZE]; uint32_t deviceNodeMask; VkBool32 deviceLUIDValid; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VkPhysicalDeviceIDPropertiesKHR.Buffer
An array ofVkPhysicalDeviceIDPropertiesKHR
structs.
-
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.VkPhysicalDeviceIDProperties
ALIGNOF, DEVICELUID, DEVICELUIDVALID, DEVICENODEMASK, DEVICEUUID, DRIVERUUID, PNEXT, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceIDPropertiesKHR(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceIDPropertiesKHR
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 VkPhysicalDeviceIDPropertiesKHR
calloc()
Returns a newVkPhysicalDeviceIDPropertiesKHR
instance allocated withmemCalloc
.static VkPhysicalDeviceIDPropertiesKHR.Buffer
calloc(int capacity)
Returns a newVkPhysicalDeviceIDPropertiesKHR.Buffer
instance allocated withmemCalloc
.static VkPhysicalDeviceIDPropertiesKHR
callocStack()
Returns a newVkPhysicalDeviceIDPropertiesKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceIDPropertiesKHR.Buffer
callocStack(int capacity)
Returns a newVkPhysicalDeviceIDPropertiesKHR.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceIDPropertiesKHR.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceIDPropertiesKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceIDPropertiesKHR
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceIDPropertiesKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceIDPropertiesKHR
create()
Returns a newVkPhysicalDeviceIDPropertiesKHR
instance allocated withBufferUtils
.static VkPhysicalDeviceIDPropertiesKHR.Buffer
create(int capacity)
Returns a newVkPhysicalDeviceIDPropertiesKHR.Buffer
instance allocated withBufferUtils
.static VkPhysicalDeviceIDPropertiesKHR
create(long address)
Returns a newVkPhysicalDeviceIDPropertiesKHR
instance for the specified memory address.static VkPhysicalDeviceIDPropertiesKHR.Buffer
create(long address, int capacity)
Create aVkPhysicalDeviceIDPropertiesKHR.Buffer
instance at the specified memory.static VkPhysicalDeviceIDPropertiesKHR
createSafe(long address)
static VkPhysicalDeviceIDPropertiesKHR.Buffer
createSafe(long address, int capacity)
static VkPhysicalDeviceIDPropertiesKHR
malloc()
Returns a newVkPhysicalDeviceIDPropertiesKHR
instance allocated withmemAlloc
.static VkPhysicalDeviceIDPropertiesKHR.Buffer
malloc(int capacity)
Returns a newVkPhysicalDeviceIDPropertiesKHR.Buffer
instance allocated withmemAlloc
.static VkPhysicalDeviceIDPropertiesKHR
mallocStack()
Returns a newVkPhysicalDeviceIDPropertiesKHR
instance allocated on the thread-localMemoryStack
.static VkPhysicalDeviceIDPropertiesKHR.Buffer
mallocStack(int capacity)
Returns a newVkPhysicalDeviceIDPropertiesKHR.Buffer
instance allocated on the thread-localMemoryStack
.static VkPhysicalDeviceIDPropertiesKHR.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceIDPropertiesKHR.Buffer
instance allocated on the specifiedMemoryStack
.static VkPhysicalDeviceIDPropertiesKHR
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceIDPropertiesKHR
instance allocated on the specifiedMemoryStack
.VkPhysicalDeviceIDPropertiesKHR
pNext(long value)
Sets the specified value to thepNext
field.VkPhysicalDeviceIDPropertiesKHR
set(int sType, long pNext)
Initializes this struct with the specified values.VkPhysicalDeviceIDPropertiesKHR
set(VkPhysicalDeviceIDPropertiesKHR src)
Copies the specified struct data to this struct.VkPhysicalDeviceIDPropertiesKHR
sType(int value)
Sets the specified value to thesType
field.-
Methods inherited from class org.lwjgl.vulkan.VkPhysicalDeviceIDProperties
deviceLUID, deviceLUID, deviceLUIDValid, deviceNodeMask, deviceUUID, deviceUUID, driverUUID, driverUUID, ndeviceLUID, ndeviceLUID, ndeviceLUIDValid, ndeviceNodeMask, ndeviceUUID, ndeviceUUID, ndriverUUID, ndriverUUID, npNext, npNext, nsType, nsType, pNext, set, sizeof, sType
-
-
-
-
Constructor Detail
-
VkPhysicalDeviceIDPropertiesKHR
public VkPhysicalDeviceIDPropertiesKHR(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceIDPropertiesKHR
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
-
sType
public VkPhysicalDeviceIDPropertiesKHR sType(int value)
Sets the specified value to thesType
field.- Overrides:
sType
in classVkPhysicalDeviceIDProperties
-
pNext
public VkPhysicalDeviceIDPropertiesKHR pNext(long value)
Sets the specified value to thepNext
field.- Overrides:
pNext
in classVkPhysicalDeviceIDProperties
-
set
public VkPhysicalDeviceIDPropertiesKHR set(int sType, long pNext)
Initializes this struct with the specified values.- Overrides:
set
in classVkPhysicalDeviceIDProperties
-
set
public VkPhysicalDeviceIDPropertiesKHR set(VkPhysicalDeviceIDPropertiesKHR src)
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceIDPropertiesKHR malloc()
Returns a newVkPhysicalDeviceIDPropertiesKHR
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceIDPropertiesKHR calloc()
Returns a newVkPhysicalDeviceIDPropertiesKHR
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceIDPropertiesKHR create()
Returns a newVkPhysicalDeviceIDPropertiesKHR
instance allocated withBufferUtils
.
-
create
public static VkPhysicalDeviceIDPropertiesKHR create(long address)
Returns a newVkPhysicalDeviceIDPropertiesKHR
instance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceIDPropertiesKHR createSafe(long address)
-
malloc
public static VkPhysicalDeviceIDPropertiesKHR.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceIDPropertiesKHR.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkPhysicalDeviceIDPropertiesKHR.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceIDPropertiesKHR.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkPhysicalDeviceIDPropertiesKHR.Buffer create(int capacity)
Returns a newVkPhysicalDeviceIDPropertiesKHR.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkPhysicalDeviceIDPropertiesKHR.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceIDPropertiesKHR.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceIDPropertiesKHR.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkPhysicalDeviceIDPropertiesKHR mallocStack()
Returns a newVkPhysicalDeviceIDPropertiesKHR
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkPhysicalDeviceIDPropertiesKHR callocStack()
Returns a newVkPhysicalDeviceIDPropertiesKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkPhysicalDeviceIDPropertiesKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceIDPropertiesKHR
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkPhysicalDeviceIDPropertiesKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceIDPropertiesKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
mallocStack
public static VkPhysicalDeviceIDPropertiesKHR.Buffer mallocStack(int capacity)
Returns a newVkPhysicalDeviceIDPropertiesKHR.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkPhysicalDeviceIDPropertiesKHR.Buffer callocStack(int capacity)
Returns a newVkPhysicalDeviceIDPropertiesKHR.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacity
-
mallocStack
public static VkPhysicalDeviceIDPropertiesKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceIDPropertiesKHR.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
callocStack
public static VkPhysicalDeviceIDPropertiesKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceIDPropertiesKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
-