Package org.lwjgl.vulkan
Class VkPhysicalDeviceDriverPropertiesKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceDriverProperties
-
- org.lwjgl.vulkan.VkPhysicalDeviceDriverPropertiesKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceDriverPropertiesKHR extends VkPhysicalDeviceDriverProperties
SeeVkPhysicalDeviceDriverProperties.Layout
struct VkPhysicalDeviceDriverPropertiesKHR { VkStructureType sType; void * pNext; VkDriverId driverID; char driverName[VK_MAX_DRIVER_NAME_SIZE]; char driverInfo[VK_MAX_DRIVER_INFO_SIZE];VkConformanceVersionconformanceVersion; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceDriverPropertiesKHR.BufferAn array ofVkPhysicalDeviceDriverPropertiesKHRstructs.
-
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.VkPhysicalDeviceDriverProperties
ALIGNOF, CONFORMANCEVERSION, DRIVERID, DRIVERINFO, DRIVERNAME, PNEXT, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceDriverPropertiesKHR(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceDriverPropertiesKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static VkPhysicalDeviceDriverPropertiesKHRcalloc()Returns a newVkPhysicalDeviceDriverPropertiesKHRinstance allocated withmemCalloc.static VkPhysicalDeviceDriverPropertiesKHR.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceDriverPropertiesKHR.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceDriverPropertiesKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceDriverPropertiesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceDriverPropertiesKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceDriverPropertiesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceDriverPropertiesKHRcallocStack()Deprecated.static VkPhysicalDeviceDriverPropertiesKHR.BuffercallocStack(int capacity)Deprecated.static VkPhysicalDeviceDriverPropertiesKHR.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPhysicalDeviceDriverPropertiesKHRcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VkPhysicalDeviceDriverPropertiesKHRcreate()Returns a newVkPhysicalDeviceDriverPropertiesKHRinstance allocated withBufferUtils.static VkPhysicalDeviceDriverPropertiesKHR.Buffercreate(int capacity)Returns a newVkPhysicalDeviceDriverPropertiesKHR.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceDriverPropertiesKHRcreate(long address)Returns a newVkPhysicalDeviceDriverPropertiesKHRinstance for the specified memory address.static VkPhysicalDeviceDriverPropertiesKHR.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceDriverPropertiesKHR.Bufferinstance at the specified memory.static VkPhysicalDeviceDriverPropertiesKHRcreateSafe(long address)static VkPhysicalDeviceDriverPropertiesKHR.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceDriverPropertiesKHRmalloc()Returns a newVkPhysicalDeviceDriverPropertiesKHRinstance allocated withmemAlloc.static VkPhysicalDeviceDriverPropertiesKHR.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceDriverPropertiesKHR.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceDriverPropertiesKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceDriverPropertiesKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceDriverPropertiesKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceDriverPropertiesKHRinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceDriverPropertiesKHRmallocStack()Deprecated.static VkPhysicalDeviceDriverPropertiesKHR.BuffermallocStack(int capacity)Deprecated.static VkPhysicalDeviceDriverPropertiesKHR.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPhysicalDeviceDriverPropertiesKHRmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.VkPhysicalDeviceDriverPropertiesKHRpNext(long value)Sets the specified value to thepNextfield.VkPhysicalDeviceDriverPropertiesKHRset(int sType, long pNext)Initializes this struct with the specified values.VkPhysicalDeviceDriverPropertiesKHRset(VkPhysicalDeviceDriverPropertiesKHR src)Copies the specified struct data to this struct.VkPhysicalDeviceDriverPropertiesKHRsType(int value)Sets the specified value to thesTypefield.VkPhysicalDeviceDriverPropertiesKHRsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_DRIVER_PROPERTIESvalue to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkPhysicalDeviceDriverProperties
conformanceVersion, driverID, driverInfo, driverInfoString, driverName, driverNameString, nconformanceVersion, ndriverID, ndriverInfo, ndriverInfoString, ndriverName, ndriverNameString, npNext, npNext, nsType, nsType, pNext, set, sizeof, sType
-
-
-
-
Constructor Detail
-
VkPhysicalDeviceDriverPropertiesKHR
public VkPhysicalDeviceDriverPropertiesKHR(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceDriverPropertiesKHRinstance 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 VkPhysicalDeviceDriverPropertiesKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkPhysicalDeviceDriverProperties
-
sType$Default
public VkPhysicalDeviceDriverPropertiesKHR sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_DRIVER_PROPERTIESvalue to thesTypefield.- Overrides:
sType$Defaultin classVkPhysicalDeviceDriverProperties
-
pNext
public VkPhysicalDeviceDriverPropertiesKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkPhysicalDeviceDriverProperties
-
set
public VkPhysicalDeviceDriverPropertiesKHR set(int sType, long pNext)
Initializes this struct with the specified values.- Overrides:
setin classVkPhysicalDeviceDriverProperties
-
set
public VkPhysicalDeviceDriverPropertiesKHR set(VkPhysicalDeviceDriverPropertiesKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceDriverPropertiesKHR malloc()
Returns a newVkPhysicalDeviceDriverPropertiesKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceDriverPropertiesKHR calloc()
Returns a newVkPhysicalDeviceDriverPropertiesKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceDriverPropertiesKHR create()
Returns a newVkPhysicalDeviceDriverPropertiesKHRinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceDriverPropertiesKHR create(long address)
Returns a newVkPhysicalDeviceDriverPropertiesKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceDriverPropertiesKHR createSafe(long address)
-
malloc
public static VkPhysicalDeviceDriverPropertiesKHR.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceDriverPropertiesKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceDriverPropertiesKHR.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceDriverPropertiesKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceDriverPropertiesKHR.Buffer create(int capacity)
Returns a newVkPhysicalDeviceDriverPropertiesKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceDriverPropertiesKHR.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceDriverPropertiesKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceDriverPropertiesKHR.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkPhysicalDeviceDriverPropertiesKHR mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceDriverPropertiesKHR callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceDriverPropertiesKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceDriverPropertiesKHR callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceDriverPropertiesKHR.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceDriverPropertiesKHR.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceDriverPropertiesKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceDriverPropertiesKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkPhysicalDeviceDriverPropertiesKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceDriverPropertiesKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceDriverPropertiesKHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceDriverPropertiesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceDriverPropertiesKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceDriverPropertiesKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceDriverPropertiesKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceDriverPropertiesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-