public class VkValidationFeaturesEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
sType must be STRUCTURE_TYPE_VALIDATION_FEATURES_EXTenabledValidationFeatureCount is not 0, pEnabledValidationFeatures must be a valid pointer to an array of enabledValidationFeatureCount valid VkValidationFeatureEnableEXT valuesdisabledValidationFeatureCount is not 0, pDisabledValidationFeatures must be a valid pointer to an array of disabledValidationFeatureCount valid VkValidationFeatureDisableEXT valuessType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.enabledValidationFeatureCount – the number of features to enable.pEnabledValidationFeatures – a pointer to an array of VkValidationFeatureEnableEXT values specifying the validation features to be enabled.disabledValidationFeatureCount – the number of features to disable.pDisabledValidationFeatures – a pointer to an array of VkValidationFeatureDisableEXT values specifying the validation features to be disabled.
struct VkValidationFeaturesEXT {
VkStructureType sType;
void const * pNext;
uint32_t enabledValidationFeatureCount;
VkValidationFeatureEnableEXT const * pEnabledValidationFeatures;
uint32_t disabledValidationFeatureCount;
VkValidationFeatureDisableEXT const * pDisabledValidationFeatures;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkValidationFeaturesEXT.Buffer
An array of
VkValidationFeaturesEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
DISABLEDVALIDATIONFEATURECOUNT
The struct member offsets.
|
static int |
ENABLEDVALIDATIONFEATURECOUNT
The struct member offsets.
|
static int |
PDISABLEDVALIDATIONFEATURES
The struct member offsets.
|
static int |
PENABLEDVALIDATIONFEATURES
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkValidationFeaturesEXT(java.nio.ByteBuffer container)
Creates a
VkValidationFeaturesEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkValidationFeaturesEXT |
calloc()
Returns a new
VkValidationFeaturesEXT instance allocated with memCalloc. |
static VkValidationFeaturesEXT.Buffer |
calloc(int capacity)
Returns a new
VkValidationFeaturesEXT.Buffer instance allocated with memCalloc. |
static VkValidationFeaturesEXT |
callocStack()
Returns a new
VkValidationFeaturesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkValidationFeaturesEXT.Buffer |
callocStack(int capacity)
Returns a new
VkValidationFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkValidationFeaturesEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkValidationFeaturesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkValidationFeaturesEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkValidationFeaturesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkValidationFeaturesEXT |
create()
Returns a new
VkValidationFeaturesEXT instance allocated with BufferUtils. |
static VkValidationFeaturesEXT.Buffer |
create(int capacity)
Returns a new
VkValidationFeaturesEXT.Buffer instance allocated with BufferUtils. |
static VkValidationFeaturesEXT |
create(long address)
Returns a new
VkValidationFeaturesEXT instance for the specified memory address. |
static VkValidationFeaturesEXT.Buffer |
create(long address,
int capacity)
Create a
VkValidationFeaturesEXT.Buffer instance at the specified memory. |
static VkValidationFeaturesEXT |
createSafe(long address)
|
static VkValidationFeaturesEXT.Buffer |
createSafe(long address,
int capacity)
|
int |
disabledValidationFeatureCount()
Returns the value of the
disabledValidationFeatureCount field. |
int |
enabledValidationFeatureCount()
Returns the value of the
enabledValidationFeatureCount field. |
static VkValidationFeaturesEXT |
malloc()
Returns a new
VkValidationFeaturesEXT instance allocated with memAlloc. |
static VkValidationFeaturesEXT.Buffer |
malloc(int capacity)
Returns a new
VkValidationFeaturesEXT.Buffer instance allocated with memAlloc. |
static VkValidationFeaturesEXT |
mallocStack()
Returns a new
VkValidationFeaturesEXT instance allocated on the thread-local MemoryStack. |
static VkValidationFeaturesEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkValidationFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkValidationFeaturesEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkValidationFeaturesEXT.Buffer instance allocated on the specified MemoryStack. |
static VkValidationFeaturesEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkValidationFeaturesEXT instance allocated on the specified MemoryStack. |
static int |
ndisabledValidationFeatureCount(long struct)
Unsafe version of
disabledValidationFeatureCount(). |
static void |
ndisabledValidationFeatureCount(long struct,
int value)
Sets the specified value to the
disabledValidationFeatureCount field of the specified struct. |
static int |
nenabledValidationFeatureCount(long struct)
Unsafe version of
enabledValidationFeatureCount(). |
static void |
nenabledValidationFeatureCount(long struct,
int value)
Sets the specified value to the
enabledValidationFeatureCount field of the specified struct. |
static java.nio.IntBuffer |
npDisabledValidationFeatures(long struct)
Unsafe version of
pDisabledValidationFeatures. |
static void |
npDisabledValidationFeatures(long struct,
java.nio.IntBuffer value)
Unsafe version of
pDisabledValidationFeatures. |
static java.nio.IntBuffer |
npEnabledValidationFeatures(long struct)
Unsafe version of
pEnabledValidationFeatures. |
static void |
npEnabledValidationFeatures(long struct,
java.nio.IntBuffer value)
Unsafe version of
pEnabledValidationFeatures. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
java.nio.IntBuffer |
pDisabledValidationFeatures()
Returns a
IntBuffer view of the data pointed to by the pDisabledValidationFeatures field. |
VkValidationFeaturesEXT |
pDisabledValidationFeatures(java.nio.IntBuffer value)
Sets the address of the specified
IntBuffer to the pDisabledValidationFeatures field. |
java.nio.IntBuffer |
pEnabledValidationFeatures()
Returns a
IntBuffer view of the data pointed to by the pEnabledValidationFeatures field. |
VkValidationFeaturesEXT |
pEnabledValidationFeatures(java.nio.IntBuffer value)
Sets the address of the specified
IntBuffer to the pEnabledValidationFeatures field. |
long |
pNext()
Returns the value of the
pNext field. |
VkValidationFeaturesEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkValidationFeaturesEXT |
set(int sType,
long pNext,
java.nio.IntBuffer pEnabledValidationFeatures,
java.nio.IntBuffer pDisabledValidationFeatures)
Initializes this struct with the specified values.
|
VkValidationFeaturesEXT |
set(VkValidationFeaturesEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkValidationFeaturesEXT |
sType(int value)
Sets the specified value to the
sType field. |
static void |
validate(long struct)
Validates pointer members that should not be
NULL. |
static void |
validate(long array,
int count)
Calls
validate(long) for each struct contained in the specified struct array. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int ENABLEDVALIDATIONFEATURECOUNT
public static final int PENABLEDVALIDATIONFEATURES
public static final int DISABLEDVALIDATIONFEATURECOUNT
public static final int PDISABLEDVALIDATIONFEATURES
public VkValidationFeaturesEXT(java.nio.ByteBuffer container)
VkValidationFeaturesEXT instance at the current position of the specified ByteBuffer container. 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public int enabledValidationFeatureCount()
enabledValidationFeatureCount field.@Nullable public java.nio.IntBuffer pEnabledValidationFeatures()
IntBuffer view of the data pointed to by the pEnabledValidationFeatures field.public int disabledValidationFeatureCount()
disabledValidationFeatureCount field.@Nullable public java.nio.IntBuffer pDisabledValidationFeatures()
IntBuffer view of the data pointed to by the pDisabledValidationFeatures field.public VkValidationFeaturesEXT sType(int value)
sType field.public VkValidationFeaturesEXT pNext(long value)
pNext field.public VkValidationFeaturesEXT pEnabledValidationFeatures(@Nullable java.nio.IntBuffer value)
IntBuffer to the pEnabledValidationFeatures field.public VkValidationFeaturesEXT pDisabledValidationFeatures(@Nullable java.nio.IntBuffer value)
IntBuffer to the pDisabledValidationFeatures field.public VkValidationFeaturesEXT set(int sType, long pNext, @Nullable java.nio.IntBuffer pEnabledValidationFeatures, @Nullable java.nio.IntBuffer pDisabledValidationFeatures)
public VkValidationFeaturesEXT set(VkValidationFeaturesEXT src)
src - the source structpublic static VkValidationFeaturesEXT malloc()
VkValidationFeaturesEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkValidationFeaturesEXT calloc()
VkValidationFeaturesEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkValidationFeaturesEXT create()
VkValidationFeaturesEXT instance allocated with BufferUtils.public static VkValidationFeaturesEXT create(long address)
VkValidationFeaturesEXT instance for the specified memory address.@Nullable public static VkValidationFeaturesEXT createSafe(long address)
public static VkValidationFeaturesEXT.Buffer malloc(int capacity)
VkValidationFeaturesEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkValidationFeaturesEXT.Buffer calloc(int capacity)
VkValidationFeaturesEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkValidationFeaturesEXT.Buffer create(int capacity)
VkValidationFeaturesEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkValidationFeaturesEXT.Buffer create(long address, int capacity)
VkValidationFeaturesEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkValidationFeaturesEXT.Buffer createSafe(long address, int capacity)
public static VkValidationFeaturesEXT mallocStack()
VkValidationFeaturesEXT instance allocated on the thread-local MemoryStack.public static VkValidationFeaturesEXT callocStack()
VkValidationFeaturesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkValidationFeaturesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkValidationFeaturesEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkValidationFeaturesEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkValidationFeaturesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkValidationFeaturesEXT.Buffer mallocStack(int capacity)
VkValidationFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkValidationFeaturesEXT.Buffer callocStack(int capacity)
VkValidationFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkValidationFeaturesEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkValidationFeaturesEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkValidationFeaturesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkValidationFeaturesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static int nenabledValidationFeatureCount(long struct)
enabledValidationFeatureCount().@Nullable public static java.nio.IntBuffer npEnabledValidationFeatures(long struct)
pEnabledValidationFeatures.public static int ndisabledValidationFeatureCount(long struct)
disabledValidationFeatureCount().@Nullable public static java.nio.IntBuffer npDisabledValidationFeatures(long struct)
pDisabledValidationFeatures.public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nenabledValidationFeatureCount(long struct,
int value)
enabledValidationFeatureCount field of the specified struct.public static void npEnabledValidationFeatures(long struct,
@Nullable
java.nio.IntBuffer value)
pEnabledValidationFeatures.public static void ndisabledValidationFeatureCount(long struct,
int value)
disabledValidationFeatureCount field of the specified struct.public static void npDisabledValidationFeatures(long struct,
@Nullable
java.nio.IntBuffer value)
pDisabledValidationFeatures.public static void validate(long struct)
NULL.struct - the struct to validatepublic static void validate(long array,
int count)
validate(long) for each struct contained in the specified struct array.array - the struct array to validatecount - the number of structs in arrayCopyright LWJGL. All Rights Reserved. License terms.