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 classVkPhysicalDeviceIDPropertiesKHR.BufferAn array ofVkPhysicalDeviceIDPropertiesKHRstructs.
-
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 aVkPhysicalDeviceIDPropertiesKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceIDPropertiesKHRcalloc()Returns a newVkPhysicalDeviceIDPropertiesKHRinstance allocated withmemCalloc.static VkPhysicalDeviceIDPropertiesKHR.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceIDPropertiesKHR.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceIDPropertiesKHRcallocStack()Returns a newVkPhysicalDeviceIDPropertiesKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceIDPropertiesKHR.BuffercallocStack(int capacity)Returns a newVkPhysicalDeviceIDPropertiesKHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceIDPropertiesKHR.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceIDPropertiesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceIDPropertiesKHRcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceIDPropertiesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceIDPropertiesKHRcreate()Returns a newVkPhysicalDeviceIDPropertiesKHRinstance allocated withBufferUtils.static VkPhysicalDeviceIDPropertiesKHR.Buffercreate(int capacity)Returns a newVkPhysicalDeviceIDPropertiesKHR.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceIDPropertiesKHRcreate(long address)Returns a newVkPhysicalDeviceIDPropertiesKHRinstance for the specified memory address.static VkPhysicalDeviceIDPropertiesKHR.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceIDPropertiesKHR.Bufferinstance at the specified memory.static VkPhysicalDeviceIDPropertiesKHRcreateSafe(long address)static VkPhysicalDeviceIDPropertiesKHR.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceIDPropertiesKHRmalloc()Returns a newVkPhysicalDeviceIDPropertiesKHRinstance allocated withmemAlloc.static VkPhysicalDeviceIDPropertiesKHR.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceIDPropertiesKHR.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceIDPropertiesKHRmallocStack()Returns a newVkPhysicalDeviceIDPropertiesKHRinstance allocated on the thread-localMemoryStack.static VkPhysicalDeviceIDPropertiesKHR.BuffermallocStack(int capacity)Returns a newVkPhysicalDeviceIDPropertiesKHR.Bufferinstance allocated on the thread-localMemoryStack.static VkPhysicalDeviceIDPropertiesKHR.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceIDPropertiesKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceIDPropertiesKHRmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceIDPropertiesKHRinstance allocated on the specifiedMemoryStack.VkPhysicalDeviceIDPropertiesKHRpNext(long value)Sets the specified value to thepNextfield.VkPhysicalDeviceIDPropertiesKHRset(int sType, long pNext)Initializes this struct with the specified values.VkPhysicalDeviceIDPropertiesKHRset(VkPhysicalDeviceIDPropertiesKHR src)Copies the specified struct data to this struct.VkPhysicalDeviceIDPropertiesKHRsType(int value)Sets the specified value to thesTypefield.-
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 aVkPhysicalDeviceIDPropertiesKHRinstance 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 VkPhysicalDeviceIDPropertiesKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkPhysicalDeviceIDProperties
-
pNext
public VkPhysicalDeviceIDPropertiesKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkPhysicalDeviceIDProperties
-
set
public VkPhysicalDeviceIDPropertiesKHR set(int sType, long pNext)
Initializes this struct with the specified values.- Overrides:
setin 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 newVkPhysicalDeviceIDPropertiesKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceIDPropertiesKHR calloc()
Returns a newVkPhysicalDeviceIDPropertiesKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceIDPropertiesKHR create()
Returns a newVkPhysicalDeviceIDPropertiesKHRinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceIDPropertiesKHR create(long address)
Returns a newVkPhysicalDeviceIDPropertiesKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceIDPropertiesKHR createSafe(long address)
-
malloc
public static VkPhysicalDeviceIDPropertiesKHR.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceIDPropertiesKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceIDPropertiesKHR.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceIDPropertiesKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceIDPropertiesKHR.Buffer create(int capacity)
Returns a newVkPhysicalDeviceIDPropertiesKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceIDPropertiesKHR.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceIDPropertiesKHR.Bufferinstance 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 newVkPhysicalDeviceIDPropertiesKHRinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkPhysicalDeviceIDPropertiesKHR callocStack()
Returns a newVkPhysicalDeviceIDPropertiesKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkPhysicalDeviceIDPropertiesKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceIDPropertiesKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkPhysicalDeviceIDPropertiesKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceIDPropertiesKHRinstance allocated on the specifiedMemoryStackand 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.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkPhysicalDeviceIDPropertiesKHR.Buffer callocStack(int capacity)
Returns a newVkPhysicalDeviceIDPropertiesKHR.Bufferinstance allocated on the thread-localMemoryStackand 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.Bufferinstance 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.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-