Package org.lwjgl.vulkan
Class VkPhysicalDeviceMaintenance4PropertiesKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceMaintenance4Properties
-
- org.lwjgl.vulkan.VkPhysicalDeviceMaintenance4PropertiesKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceMaintenance4PropertiesKHR extends VkPhysicalDeviceMaintenance4Properties
SeeVkPhysicalDeviceMaintenance4Properties.Layout
struct VkPhysicalDeviceMaintenance4PropertiesKHR { VkStructureType sType; void * pNext; VkDeviceSize maxBufferSize; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceMaintenance4PropertiesKHR.BufferAn array ofVkPhysicalDeviceMaintenance4PropertiesKHRstructs.
-
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.VkPhysicalDeviceMaintenance4Properties
ALIGNOF, MAXBUFFERSIZE, PNEXT, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceMaintenance4PropertiesKHR(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceMaintenance4PropertiesKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceMaintenance4PropertiesKHRcalloc()Returns a newVkPhysicalDeviceMaintenance4PropertiesKHRinstance allocated withmemCalloc.static VkPhysicalDeviceMaintenance4PropertiesKHR.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceMaintenance4PropertiesKHR.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceMaintenance4PropertiesKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceMaintenance4PropertiesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceMaintenance4PropertiesKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceMaintenance4PropertiesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceMaintenance4PropertiesKHRcreate()Returns a newVkPhysicalDeviceMaintenance4PropertiesKHRinstance allocated withBufferUtils.static VkPhysicalDeviceMaintenance4PropertiesKHR.Buffercreate(int capacity)Returns a newVkPhysicalDeviceMaintenance4PropertiesKHR.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceMaintenance4PropertiesKHRcreate(long address)Returns a newVkPhysicalDeviceMaintenance4PropertiesKHRinstance for the specified memory address.static VkPhysicalDeviceMaintenance4PropertiesKHR.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceMaintenance4PropertiesKHR.Bufferinstance at the specified memory.static VkPhysicalDeviceMaintenance4PropertiesKHRcreateSafe(long address)static VkPhysicalDeviceMaintenance4PropertiesKHR.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceMaintenance4PropertiesKHRmalloc()Returns a newVkPhysicalDeviceMaintenance4PropertiesKHRinstance allocated withmemAlloc.static VkPhysicalDeviceMaintenance4PropertiesKHR.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceMaintenance4PropertiesKHR.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceMaintenance4PropertiesKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceMaintenance4PropertiesKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceMaintenance4PropertiesKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceMaintenance4PropertiesKHRinstance allocated on the specifiedMemoryStack.VkPhysicalDeviceMaintenance4PropertiesKHRpNext(long value)Sets the specified value to thepNextfield.VkPhysicalDeviceMaintenance4PropertiesKHRset(int sType, long pNext)Initializes this struct with the specified values.VkPhysicalDeviceMaintenance4PropertiesKHRset(VkPhysicalDeviceMaintenance4PropertiesKHR src)Copies the specified struct data to this struct.VkPhysicalDeviceMaintenance4PropertiesKHRsType(int value)Sets the specified value to thesTypefield.VkPhysicalDeviceMaintenance4PropertiesKHRsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_4_PROPERTIESvalue to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkPhysicalDeviceMaintenance4Properties
maxBufferSize, nmaxBufferSize, npNext, npNext, nsType, nsType, pNext, set, sizeof, sType
-
-
-
-
Constructor Detail
-
VkPhysicalDeviceMaintenance4PropertiesKHR
public VkPhysicalDeviceMaintenance4PropertiesKHR(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceMaintenance4PropertiesKHRinstance 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 VkPhysicalDeviceMaintenance4PropertiesKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkPhysicalDeviceMaintenance4Properties
-
sType$Default
public VkPhysicalDeviceMaintenance4PropertiesKHR sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_4_PROPERTIESvalue to thesTypefield.- Overrides:
sType$Defaultin classVkPhysicalDeviceMaintenance4Properties
-
pNext
public VkPhysicalDeviceMaintenance4PropertiesKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkPhysicalDeviceMaintenance4Properties
-
set
public VkPhysicalDeviceMaintenance4PropertiesKHR set(int sType, long pNext)
Initializes this struct with the specified values.- Overrides:
setin classVkPhysicalDeviceMaintenance4Properties
-
set
public VkPhysicalDeviceMaintenance4PropertiesKHR set(VkPhysicalDeviceMaintenance4PropertiesKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceMaintenance4PropertiesKHR malloc()
Returns a newVkPhysicalDeviceMaintenance4PropertiesKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceMaintenance4PropertiesKHR calloc()
Returns a newVkPhysicalDeviceMaintenance4PropertiesKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceMaintenance4PropertiesKHR create()
Returns a newVkPhysicalDeviceMaintenance4PropertiesKHRinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceMaintenance4PropertiesKHR create(long address)
Returns a newVkPhysicalDeviceMaintenance4PropertiesKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceMaintenance4PropertiesKHR createSafe(long address)
-
malloc
public static VkPhysicalDeviceMaintenance4PropertiesKHR.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceMaintenance4PropertiesKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceMaintenance4PropertiesKHR.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceMaintenance4PropertiesKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceMaintenance4PropertiesKHR.Buffer create(int capacity)
Returns a newVkPhysicalDeviceMaintenance4PropertiesKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceMaintenance4PropertiesKHR.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceMaintenance4PropertiesKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceMaintenance4PropertiesKHR.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceMaintenance4PropertiesKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceMaintenance4PropertiesKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceMaintenance4PropertiesKHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceMaintenance4PropertiesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceMaintenance4PropertiesKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceMaintenance4PropertiesKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceMaintenance4PropertiesKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceMaintenance4PropertiesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-