If the VkPhysicalDeviceRobustness2FeaturesEXT structure is included in the pNext chain of the VkPhysicalDeviceFeatures2 structure passed to GetPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported. VkPhysicalDeviceRobustness2FeaturesEXT can also be used in the pNext chain of VkDeviceCreateInfo to selectively enable these features.
robustBufferAccess2 is enabled then robustBufferAccess must also be enabledsType must be STRUCTURE_TYPE_PHYSICAL_DEVICE_ROBUSTNESS_2_FEATURES_EXT
struct VkPhysicalDeviceRobustness2FeaturesEXT {
VkStructureType sType;
void * pNext;
VkBool32 robustBufferAccess2;
VkBool32 robustImageAccess2;
VkBool32 nullDescriptor;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkPhysicalDeviceRobustness2FeaturesEXT.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | NULLDESCRIPTOR
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | ROBUSTBUFFERACCESS2
The struct member offsets. |
| public static final int | ROBUSTIMAGEACCESS2
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkPhysicalDeviceRobustness2FeaturesEXT(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkPhysicalDeviceRobustness2FeaturesEXT | |
| public static VkPhysicalDeviceRobustness2FeaturesEXT. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceRobustness2FeaturesEXT | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceRobustness2FeaturesEXT. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkPhysicalDeviceRobustness2FeaturesEXT | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkPhysicalDeviceRobustness2FeaturesEXT | |
| public static VkPhysicalDeviceRobustness2FeaturesEXT | create(long address)
Returns a new |
| public static VkPhysicalDeviceRobustness2FeaturesEXT. | create(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceRobustness2FeaturesEXT. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkPhysicalDeviceRobustness2FeaturesEXT | |
| public static VkPhysicalDeviceRobustness2FeaturesEXT. | |
| public static VkPhysicalDeviceRobustness2FeaturesEXT | |
| public static VkPhysicalDeviceRobustness2FeaturesEXT. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceRobustness2FeaturesEXT | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceRobustness2FeaturesEXT. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public boolean | |
| public VkPhysicalDeviceRobustness2FeaturesEXT | |
| public long | |
| public VkPhysicalDeviceRobustness2FeaturesEXT | |
| public boolean | robustBufferAccess2()
indicates whether buffer accesses are tightly bounds-checked against the range of the descriptor. |
| public VkPhysicalDeviceRobustness2FeaturesEXT | |
| public boolean | robustImageAccess2()
indicates whether image accesses are tightly bounds-checked against the dimensions of the image view. |
| public VkPhysicalDeviceRobustness2FeaturesEXT | |
| public VkPhysicalDeviceRobustness2FeaturesEXT | set(int sType, long pNext, boolean robustBufferAccess2, boolean robustImageAccess2, boolean nullDescriptor)
Initializes this struct with the specified values. |
| public VkPhysicalDeviceRobustness2FeaturesEXT | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkPhysicalDeviceRobustness2FeaturesEXT | |
| public VkPhysicalDeviceRobustness2FeaturesEXT | sType$Default()
Sets the |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| NULLDESCRIPTOR | back to summary |
|---|---|
| public static final int NULLDESCRIPTOR The struct member offsets. | |
| PNEXT | back to summary |
|---|---|
| public static final int PNEXT The struct member offsets. | |
| ROBUSTBUFFERACCESS2 | back to summary |
|---|---|
| public static final int ROBUSTBUFFERACCESS2 The struct member offsets. | |
| ROBUSTIMAGEACCESS2 | back to summary |
|---|---|
| public static final int ROBUSTIMAGEACCESS2 The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| STYPE | back to summary |
|---|---|
| public static final int STYPE The struct member offsets. | |
| VkPhysicalDeviceRobustness2FeaturesEXT | back to summary |
|---|---|
| protected VkPhysicalDeviceRobustness2FeaturesEXT(long address, ByteBuffer container) | |
| VkPhysicalDeviceRobustness2FeaturesEXT | back to summary |
|---|---|
| public VkPhysicalDeviceRobustness2FeaturesEXT(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkPhysicalDeviceRobustness2FeaturesEXT calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkPhysicalDeviceRobustness2FeaturesEXT. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkPhysicalDeviceRobustness2FeaturesEXT calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkPhysicalDeviceRobustness2FeaturesEXT. Returns a new
| |
| create | back to summary |
|---|---|
| protected VkPhysicalDeviceRobustness2FeaturesEXT create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkPhysicalDeviceRobustness2FeaturesEXT create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkPhysicalDeviceRobustness2FeaturesEXT create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkPhysicalDeviceRobustness2FeaturesEXT. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkPhysicalDeviceRobustness2FeaturesEXT. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkPhysicalDeviceRobustness2FeaturesEXT createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkPhysicalDeviceRobustness2FeaturesEXT. Like
| |
| malloc | back to summary |
|---|---|
| public static VkPhysicalDeviceRobustness2FeaturesEXT malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkPhysicalDeviceRobustness2FeaturesEXT. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkPhysicalDeviceRobustness2FeaturesEXT malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkPhysicalDeviceRobustness2FeaturesEXT. Returns a new
| |
| nnullDescriptor | back to summary |
|---|---|
| public static int nnullDescriptor(long struct) Unsafe version of | |
| nnullDescriptor | back to summary |
|---|---|
| public static void nnullDescriptor(long struct, int value) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static long npNext(long struct) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static void npNext(long struct, long value) Unsafe version of | |
| nrobustBufferAccess2 | back to summary |
|---|---|
| public static int nrobustBufferAccess2(long struct) Unsafe version of | |
| nrobustBufferAccess2 | back to summary |
|---|---|
| public static void nrobustBufferAccess2(long struct, int value) Unsafe version of | |
| nrobustImageAccess2 | back to summary |
|---|---|
| public static int nrobustImageAccess2(long struct) Unsafe version of | |
| nrobustImageAccess2 | back to summary |
|---|---|
| public static void nrobustImageAccess2(long struct, int value) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static int nsType(long struct) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static void nsType(long struct, int value) Unsafe version of | |
| nullDescriptor | back to summary |
|---|---|
public boolean nullDescriptor()
| |
| nullDescriptor | back to summary |
|---|---|
| public VkPhysicalDeviceRobustness2FeaturesEXT nullDescriptor(boolean value) Sets the specified value to the | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkPhysicalDeviceRobustness2FeaturesEXT pNext(long value) Sets the specified value to the | |
| robustBufferAccess2 | back to summary |
|---|---|
| public boolean robustBufferAccess2() indicates whether buffer accesses are tightly bounds-checked against the range of the descriptor. Uniform buffers must be bounds-checked to the range of the descriptor, where the range is rounded up to a multiple of
| |
| robustBufferAccess2 | back to summary |
|---|---|
| public VkPhysicalDeviceRobustness2FeaturesEXT robustBufferAccess2(boolean value) Sets the specified value to the | |
| robustImageAccess2 | back to summary |
|---|---|
| public boolean robustImageAccess2() indicates whether image accesses are tightly bounds-checked against the dimensions of the image view. Out of bounds image load, sample, and atomic operations from images will return zero values, with
| |
| robustImageAccess2 | back to summary |
|---|---|
| public VkPhysicalDeviceRobustness2FeaturesEXT robustImageAccess2(boolean value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkPhysicalDeviceRobustness2FeaturesEXT set(int sType, long pNext, boolean robustBufferAccess2, boolean robustImageAccess2, boolean nullDescriptor) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkPhysicalDeviceRobustness2FeaturesEXT set(VkPhysicalDeviceRobustness2FeaturesEXT src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| sType | back to summary |
|---|---|
| public int sType() a
| |
| sType | back to summary |
|---|---|
| public VkPhysicalDeviceRobustness2FeaturesEXT sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkPhysicalDeviceRobustness2FeaturesEXT sType$Default() Sets the | |
VkPhysicalDeviceRobustness2FeaturesEXT structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkPhysicalDeviceRobustness2FeaturesEXT |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkPhysicalDeviceRobustness2FeaturesEXT ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| getElementFactory | back to summary |
|---|---|
| protected VkPhysicalDeviceRobustness2FeaturesEXT getElementFactory() Implements abstract org.
| |
| nullDescriptor | back to summary |
|---|---|
public boolean nullDescriptor()
| |
| nullDescriptor | back to summary |
|---|---|
| public VkPhysicalDeviceRobustness2FeaturesEXT. Sets the specified value to the | |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkPhysicalDeviceRobustness2FeaturesEXT. Sets the specified value to the | |
| robustBufferAccess2 | back to summary |
|---|---|
public boolean robustBufferAccess2()
| |
| robustBufferAccess2 | back to summary |
|---|---|
| public VkPhysicalDeviceRobustness2FeaturesEXT. Sets the specified value to the | |
| robustImageAccess2 | back to summary |
|---|---|
public boolean robustImageAccess2()
| |
| robustImageAccess2 | back to summary |
|---|---|
| public VkPhysicalDeviceRobustness2FeaturesEXT. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkPhysicalDeviceRobustness2FeaturesEXT. Implements abstract org.
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkPhysicalDeviceRobustness2FeaturesEXT. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkPhysicalDeviceRobustness2FeaturesEXT. Sets the | |