Package org.lwjgl.vulkan
Class VkPhysicalDeviceMaintenance4FeaturesKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceMaintenance4Features
-
- org.lwjgl.vulkan.VkPhysicalDeviceMaintenance4FeaturesKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceMaintenance4FeaturesKHR extends VkPhysicalDeviceMaintenance4Features
SeeVkPhysicalDeviceMaintenance4Features.Layout
struct VkPhysicalDeviceMaintenance4FeaturesKHR { VkStructureType sType; void * pNext; VkBool32 maintenance4; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceMaintenance4FeaturesKHR.BufferAn array ofVkPhysicalDeviceMaintenance4FeaturesKHRstructs.
-
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.VkPhysicalDeviceMaintenance4Features
ALIGNOF, MAINTENANCE4, PNEXT, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceMaintenance4FeaturesKHR(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceMaintenance4FeaturesKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceMaintenance4FeaturesKHRcalloc()Returns a newVkPhysicalDeviceMaintenance4FeaturesKHRinstance allocated withmemCalloc.static VkPhysicalDeviceMaintenance4FeaturesKHR.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceMaintenance4FeaturesKHR.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceMaintenance4FeaturesKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceMaintenance4FeaturesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceMaintenance4FeaturesKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceMaintenance4FeaturesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceMaintenance4FeaturesKHRcreate()Returns a newVkPhysicalDeviceMaintenance4FeaturesKHRinstance allocated withBufferUtils.static VkPhysicalDeviceMaintenance4FeaturesKHR.Buffercreate(int capacity)Returns a newVkPhysicalDeviceMaintenance4FeaturesKHR.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceMaintenance4FeaturesKHRcreate(long address)Returns a newVkPhysicalDeviceMaintenance4FeaturesKHRinstance for the specified memory address.static VkPhysicalDeviceMaintenance4FeaturesKHR.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceMaintenance4FeaturesKHR.Bufferinstance at the specified memory.static VkPhysicalDeviceMaintenance4FeaturesKHRcreateSafe(long address)static VkPhysicalDeviceMaintenance4FeaturesKHR.BuffercreateSafe(long address, int capacity)VkPhysicalDeviceMaintenance4FeaturesKHRmaintenance4(boolean value)Sets the specified value to themaintenance4field.static VkPhysicalDeviceMaintenance4FeaturesKHRmalloc()Returns a newVkPhysicalDeviceMaintenance4FeaturesKHRinstance allocated withmemAlloc.static VkPhysicalDeviceMaintenance4FeaturesKHR.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceMaintenance4FeaturesKHR.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceMaintenance4FeaturesKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceMaintenance4FeaturesKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceMaintenance4FeaturesKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceMaintenance4FeaturesKHRinstance allocated on the specifiedMemoryStack.VkPhysicalDeviceMaintenance4FeaturesKHRpNext(long value)Sets the specified value to thepNextfield.VkPhysicalDeviceMaintenance4FeaturesKHRset(int sType, long pNext, boolean maintenance4)Initializes this struct with the specified values.VkPhysicalDeviceMaintenance4FeaturesKHRset(VkPhysicalDeviceMaintenance4FeaturesKHR src)Copies the specified struct data to this struct.VkPhysicalDeviceMaintenance4FeaturesKHRsType(int value)Sets the specified value to thesTypefield.VkPhysicalDeviceMaintenance4FeaturesKHRsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_4_FEATURESvalue to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkPhysicalDeviceMaintenance4Features
maintenance4, nmaintenance4, nmaintenance4, npNext, npNext, nsType, nsType, pNext, set, sizeof, sType
-
-
-
-
Constructor Detail
-
VkPhysicalDeviceMaintenance4FeaturesKHR
public VkPhysicalDeviceMaintenance4FeaturesKHR(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceMaintenance4FeaturesKHRinstance 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 VkPhysicalDeviceMaintenance4FeaturesKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkPhysicalDeviceMaintenance4Features
-
sType$Default
public VkPhysicalDeviceMaintenance4FeaturesKHR sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_4_FEATURESvalue to thesTypefield.- Overrides:
sType$Defaultin classVkPhysicalDeviceMaintenance4Features
-
pNext
public VkPhysicalDeviceMaintenance4FeaturesKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkPhysicalDeviceMaintenance4Features
-
maintenance4
public VkPhysicalDeviceMaintenance4FeaturesKHR maintenance4(boolean value)
Sets the specified value to themaintenance4field.- Overrides:
maintenance4in classVkPhysicalDeviceMaintenance4Features
-
set
public VkPhysicalDeviceMaintenance4FeaturesKHR set(int sType, long pNext, boolean maintenance4)
Initializes this struct with the specified values.- Overrides:
setin classVkPhysicalDeviceMaintenance4Features
-
set
public VkPhysicalDeviceMaintenance4FeaturesKHR set(VkPhysicalDeviceMaintenance4FeaturesKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceMaintenance4FeaturesKHR malloc()
Returns a newVkPhysicalDeviceMaintenance4FeaturesKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceMaintenance4FeaturesKHR calloc()
Returns a newVkPhysicalDeviceMaintenance4FeaturesKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceMaintenance4FeaturesKHR create()
Returns a newVkPhysicalDeviceMaintenance4FeaturesKHRinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceMaintenance4FeaturesKHR create(long address)
Returns a newVkPhysicalDeviceMaintenance4FeaturesKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceMaintenance4FeaturesKHR createSafe(long address)
-
malloc
public static VkPhysicalDeviceMaintenance4FeaturesKHR.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceMaintenance4FeaturesKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceMaintenance4FeaturesKHR.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceMaintenance4FeaturesKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceMaintenance4FeaturesKHR.Buffer create(int capacity)
Returns a newVkPhysicalDeviceMaintenance4FeaturesKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceMaintenance4FeaturesKHR.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceMaintenance4FeaturesKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceMaintenance4FeaturesKHR.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceMaintenance4FeaturesKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceMaintenance4FeaturesKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceMaintenance4FeaturesKHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceMaintenance4FeaturesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceMaintenance4FeaturesKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceMaintenance4FeaturesKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceMaintenance4FeaturesKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceMaintenance4FeaturesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-