Package org.lwjgl.vulkan
Class VkPhysicalDeviceMaintenance4Properties
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceMaintenance4Properties
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Direct Known Subclasses:
VkPhysicalDeviceMaintenance4PropertiesKHR
public class VkPhysicalDeviceMaintenance4Properties extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing various implementation-defined properties introduced with VK_KHR_maintenance4.Description
If the
VkPhysicalDeviceMaintenance4Propertiesstructure is included in thepNextchain of theVkPhysicalDeviceProperties2structure passed toGetPhysicalDeviceProperties2, it is filled in with each corresponding implementation-dependent property.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_4_PROPERTIES
Layout
struct VkPhysicalDeviceMaintenance4Properties { VkStructureTypesType(); void *pNext(); VkDeviceSizemaxBufferSize(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceMaintenance4Properties.BufferAn array ofVkPhysicalDeviceMaintenance4Propertiesstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intMAXBUFFERSIZE
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceMaintenance4Properties(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceMaintenance4Propertiesinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceMaintenance4Propertiescalloc()Returns a newVkPhysicalDeviceMaintenance4Propertiesinstance allocated withmemCalloc.static VkPhysicalDeviceMaintenance4Properties.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceMaintenance4Properties.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceMaintenance4Properties.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceMaintenance4Properties.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceMaintenance4Propertiescalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceMaintenance4Propertiesinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceMaintenance4Propertiescreate()Returns a newVkPhysicalDeviceMaintenance4Propertiesinstance allocated withBufferUtils.static VkPhysicalDeviceMaintenance4Properties.Buffercreate(int capacity)Returns a newVkPhysicalDeviceMaintenance4Properties.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceMaintenance4Propertiescreate(long address)Returns a newVkPhysicalDeviceMaintenance4Propertiesinstance for the specified memory address.static VkPhysicalDeviceMaintenance4Properties.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceMaintenance4Properties.Bufferinstance at the specified memory.static VkPhysicalDeviceMaintenance4PropertiescreateSafe(long address)static VkPhysicalDeviceMaintenance4Properties.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceMaintenance4Propertiesmalloc()Returns a newVkPhysicalDeviceMaintenance4Propertiesinstance allocated withmemAlloc.static VkPhysicalDeviceMaintenance4Properties.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceMaintenance4Properties.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceMaintenance4Properties.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceMaintenance4Properties.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceMaintenance4Propertiesmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceMaintenance4Propertiesinstance allocated on the specifiedMemoryStack.longmaxBufferSize()the maximum sizeVkBufferthat can be created.static longnmaxBufferSize(long struct)Unsafe version ofmaxBufferSize().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.longpNext()NULLor a pointer to a structure extending this structure.VkPhysicalDeviceMaintenance4PropertiespNext(long value)Sets the specified value to thepNext()field.VkPhysicalDeviceMaintenance4Propertiesset(int sType, long pNext)Initializes this struct with the specified values.VkPhysicalDeviceMaintenance4Propertiesset(VkPhysicalDeviceMaintenance4Properties src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkPhysicalDeviceMaintenance4PropertiessType(int value)Sets the specified value to thesType()field.VkPhysicalDeviceMaintenance4PropertiessType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_4_PROPERTIESvalue to thesType()field.
-
-
-
Constructor Detail
-
VkPhysicalDeviceMaintenance4Properties
public VkPhysicalDeviceMaintenance4Properties(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceMaintenance4Propertiesinstance 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.
-
maxBufferSize
public long maxBufferSize()
the maximum sizeVkBufferthat can be created.
-
sType
public VkPhysicalDeviceMaintenance4Properties sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPhysicalDeviceMaintenance4Properties sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_4_PROPERTIESvalue to thesType()field.
-
pNext
public VkPhysicalDeviceMaintenance4Properties pNext(long value)
Sets the specified value to thepNext()field.
-
set
public VkPhysicalDeviceMaintenance4Properties set(int sType, long pNext)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceMaintenance4Properties set(VkPhysicalDeviceMaintenance4Properties src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceMaintenance4Properties malloc()
Returns a newVkPhysicalDeviceMaintenance4Propertiesinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceMaintenance4Properties calloc()
Returns a newVkPhysicalDeviceMaintenance4Propertiesinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceMaintenance4Properties create()
Returns a newVkPhysicalDeviceMaintenance4Propertiesinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceMaintenance4Properties create(long address)
Returns a newVkPhysicalDeviceMaintenance4Propertiesinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceMaintenance4Properties createSafe(long address)
-
malloc
public static VkPhysicalDeviceMaintenance4Properties.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceMaintenance4Properties.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceMaintenance4Properties.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceMaintenance4Properties.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceMaintenance4Properties.Buffer create(int capacity)
Returns a newVkPhysicalDeviceMaintenance4Properties.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceMaintenance4Properties.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceMaintenance4Properties.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceMaintenance4Properties.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceMaintenance4Properties malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceMaintenance4Propertiesinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceMaintenance4Properties calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceMaintenance4Propertiesinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceMaintenance4Properties.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceMaintenance4Properties.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceMaintenance4Properties.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceMaintenance4Properties.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().
-
nmaxBufferSize
public static long nmaxBufferSize(long struct)
Unsafe version ofmaxBufferSize().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
-