Package org.lwjgl.vulkan
Class VkPhysicalDeviceImageRobustnessFeaturesEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceImageRobustnessFeatures
-
- org.lwjgl.vulkan.VkPhysicalDeviceImageRobustnessFeaturesEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceImageRobustnessFeaturesEXT extends VkPhysicalDeviceImageRobustnessFeatures
SeeVkPhysicalDeviceImageRobustnessFeatures.Layout
struct VkPhysicalDeviceImageRobustnessFeaturesEXT { VkStructureType sType; void * pNext; VkBool32 robustImageAccess; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceImageRobustnessFeaturesEXT.BufferAn array ofVkPhysicalDeviceImageRobustnessFeaturesEXTstructs.
-
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.VkPhysicalDeviceImageRobustnessFeatures
ALIGNOF, PNEXT, ROBUSTIMAGEACCESS, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceImageRobustnessFeaturesEXT(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceImageRobustnessFeaturesEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceImageRobustnessFeaturesEXTcalloc()Returns a newVkPhysicalDeviceImageRobustnessFeaturesEXTinstance allocated withmemCalloc.static VkPhysicalDeviceImageRobustnessFeaturesEXT.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceImageRobustnessFeaturesEXT.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceImageRobustnessFeaturesEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceImageRobustnessFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceImageRobustnessFeaturesEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceImageRobustnessFeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceImageRobustnessFeaturesEXTcreate()Returns a newVkPhysicalDeviceImageRobustnessFeaturesEXTinstance allocated withBufferUtils.static VkPhysicalDeviceImageRobustnessFeaturesEXT.Buffercreate(int capacity)Returns a newVkPhysicalDeviceImageRobustnessFeaturesEXT.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceImageRobustnessFeaturesEXTcreate(long address)Returns a newVkPhysicalDeviceImageRobustnessFeaturesEXTinstance for the specified memory address.static VkPhysicalDeviceImageRobustnessFeaturesEXT.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceImageRobustnessFeaturesEXT.Bufferinstance at the specified memory.static VkPhysicalDeviceImageRobustnessFeaturesEXTcreateSafe(long address)static VkPhysicalDeviceImageRobustnessFeaturesEXT.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceImageRobustnessFeaturesEXTmalloc()Returns a newVkPhysicalDeviceImageRobustnessFeaturesEXTinstance allocated withmemAlloc.static VkPhysicalDeviceImageRobustnessFeaturesEXT.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceImageRobustnessFeaturesEXT.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceImageRobustnessFeaturesEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceImageRobustnessFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceImageRobustnessFeaturesEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceImageRobustnessFeaturesEXTinstance allocated on the specifiedMemoryStack.VkPhysicalDeviceImageRobustnessFeaturesEXTpNext(long value)Sets the specified value to thepNextfield.VkPhysicalDeviceImageRobustnessFeaturesEXTrobustImageAccess(boolean value)Sets the specified value to therobustImageAccessfield.VkPhysicalDeviceImageRobustnessFeaturesEXTset(int sType, long pNext, boolean robustImageAccess)Initializes this struct with the specified values.VkPhysicalDeviceImageRobustnessFeaturesEXTset(VkPhysicalDeviceImageRobustnessFeaturesEXT src)Copies the specified struct data to this struct.VkPhysicalDeviceImageRobustnessFeaturesEXTsType(int value)Sets the specified value to thesTypefield.VkPhysicalDeviceImageRobustnessFeaturesEXTsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ROBUSTNESS_FEATURESvalue to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkPhysicalDeviceImageRobustnessFeatures
npNext, npNext, nrobustImageAccess, nrobustImageAccess, nsType, nsType, pNext, robustImageAccess, set, sizeof, sType
-
-
-
-
Constructor Detail
-
VkPhysicalDeviceImageRobustnessFeaturesEXT
public VkPhysicalDeviceImageRobustnessFeaturesEXT(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceImageRobustnessFeaturesEXTinstance 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 VkPhysicalDeviceImageRobustnessFeaturesEXT sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkPhysicalDeviceImageRobustnessFeatures
-
sType$Default
public VkPhysicalDeviceImageRobustnessFeaturesEXT sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ROBUSTNESS_FEATURESvalue to thesTypefield.- Overrides:
sType$Defaultin classVkPhysicalDeviceImageRobustnessFeatures
-
pNext
public VkPhysicalDeviceImageRobustnessFeaturesEXT pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkPhysicalDeviceImageRobustnessFeatures
-
robustImageAccess
public VkPhysicalDeviceImageRobustnessFeaturesEXT robustImageAccess(boolean value)
Sets the specified value to therobustImageAccessfield.- Overrides:
robustImageAccessin classVkPhysicalDeviceImageRobustnessFeatures
-
set
public VkPhysicalDeviceImageRobustnessFeaturesEXT set(int sType, long pNext, boolean robustImageAccess)
Initializes this struct with the specified values.- Overrides:
setin classVkPhysicalDeviceImageRobustnessFeatures
-
set
public VkPhysicalDeviceImageRobustnessFeaturesEXT set(VkPhysicalDeviceImageRobustnessFeaturesEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceImageRobustnessFeaturesEXT malloc()
Returns a newVkPhysicalDeviceImageRobustnessFeaturesEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceImageRobustnessFeaturesEXT calloc()
Returns a newVkPhysicalDeviceImageRobustnessFeaturesEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceImageRobustnessFeaturesEXT create()
Returns a newVkPhysicalDeviceImageRobustnessFeaturesEXTinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceImageRobustnessFeaturesEXT create(long address)
Returns a newVkPhysicalDeviceImageRobustnessFeaturesEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceImageRobustnessFeaturesEXT createSafe(long address)
-
malloc
public static VkPhysicalDeviceImageRobustnessFeaturesEXT.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceImageRobustnessFeaturesEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceImageRobustnessFeaturesEXT.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceImageRobustnessFeaturesEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceImageRobustnessFeaturesEXT.Buffer create(int capacity)
Returns a newVkPhysicalDeviceImageRobustnessFeaturesEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceImageRobustnessFeaturesEXT.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceImageRobustnessFeaturesEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceImageRobustnessFeaturesEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceImageRobustnessFeaturesEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceImageRobustnessFeaturesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceImageRobustnessFeaturesEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceImageRobustnessFeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceImageRobustnessFeaturesEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceImageRobustnessFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceImageRobustnessFeaturesEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceImageRobustnessFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-