public class VkValidationFlagsEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
sType must be STRUCTURE_TYPE_VALIDATION_FLAGS_EXTpDisabledValidationChecks must be a valid pointer to an array of disabledValidationCheckCount valid VkValidationCheckEXT valuesdisabledValidationCheckCount must be greater than 0sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.disabledValidationCheckCount – the number of checks to disable.pDisabledValidationChecks – a pointer to an array of VkValidationCheckEXT values specifying the validation checks to be disabled.
struct VkValidationFlagsEXT {
VkStructureType sType;
void const * pNext;
uint32_t disabledValidationCheckCount;
VkValidationCheckEXT const * pDisabledValidationChecks;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkValidationFlagsEXT.Buffer
An array of
VkValidationFlagsEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
DISABLEDVALIDATIONCHECKCOUNT
The struct member offsets.
|
static int |
PDISABLEDVALIDATIONCHECKS
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 |
|---|
VkValidationFlagsEXT(java.nio.ByteBuffer container)
Creates a
VkValidationFlagsEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkValidationFlagsEXT |
calloc()
Returns a new
VkValidationFlagsEXT instance allocated with memCalloc. |
static VkValidationFlagsEXT.Buffer |
calloc(int capacity)
Returns a new
VkValidationFlagsEXT.Buffer instance allocated with memCalloc. |
static VkValidationFlagsEXT |
callocStack()
Returns a new
VkValidationFlagsEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkValidationFlagsEXT.Buffer |
callocStack(int capacity)
Returns a new
VkValidationFlagsEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkValidationFlagsEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkValidationFlagsEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkValidationFlagsEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkValidationFlagsEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkValidationFlagsEXT |
create()
Returns a new
VkValidationFlagsEXT instance allocated with BufferUtils. |
static VkValidationFlagsEXT.Buffer |
create(int capacity)
Returns a new
VkValidationFlagsEXT.Buffer instance allocated with BufferUtils. |
static VkValidationFlagsEXT |
create(long address)
Returns a new
VkValidationFlagsEXT instance for the specified memory address. |
static VkValidationFlagsEXT.Buffer |
create(long address,
int capacity)
Create a
VkValidationFlagsEXT.Buffer instance at the specified memory. |
static VkValidationFlagsEXT |
createSafe(long address)
|
static VkValidationFlagsEXT.Buffer |
createSafe(long address,
int capacity)
|
int |
disabledValidationCheckCount()
Returns the value of the
disabledValidationCheckCount field. |
static VkValidationFlagsEXT |
malloc()
Returns a new
VkValidationFlagsEXT instance allocated with memAlloc. |
static VkValidationFlagsEXT.Buffer |
malloc(int capacity)
Returns a new
VkValidationFlagsEXT.Buffer instance allocated with memAlloc. |
static VkValidationFlagsEXT |
mallocStack()
Returns a new
VkValidationFlagsEXT instance allocated on the thread-local MemoryStack. |
static VkValidationFlagsEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkValidationFlagsEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkValidationFlagsEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkValidationFlagsEXT.Buffer instance allocated on the specified MemoryStack. |
static VkValidationFlagsEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkValidationFlagsEXT instance allocated on the specified MemoryStack. |
static int |
ndisabledValidationCheckCount(long struct)
Unsafe version of
disabledValidationCheckCount(). |
static void |
ndisabledValidationCheckCount(long struct,
int value)
Sets the specified value to the
disabledValidationCheckCount field of the specified struct. |
static java.nio.IntBuffer |
npDisabledValidationChecks(long struct)
Unsafe version of
pDisabledValidationChecks. |
static void |
npDisabledValidationChecks(long struct,
java.nio.IntBuffer value)
Unsafe version of
pDisabledValidationChecks. |
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 |
pDisabledValidationChecks()
Returns a
IntBuffer view of the data pointed to by the pDisabledValidationChecks field. |
VkValidationFlagsEXT |
pDisabledValidationChecks(java.nio.IntBuffer value)
Sets the address of the specified
IntBuffer to the pDisabledValidationChecks field. |
long |
pNext()
Returns the value of the
pNext field. |
VkValidationFlagsEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkValidationFlagsEXT |
set(int sType,
long pNext,
java.nio.IntBuffer pDisabledValidationChecks)
Initializes this struct with the specified values.
|
VkValidationFlagsEXT |
set(VkValidationFlagsEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkValidationFlagsEXT |
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 DISABLEDVALIDATIONCHECKCOUNT
public static final int PDISABLEDVALIDATIONCHECKS
public VkValidationFlagsEXT(java.nio.ByteBuffer container)
VkValidationFlagsEXT 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 disabledValidationCheckCount()
disabledValidationCheckCount field.public java.nio.IntBuffer pDisabledValidationChecks()
IntBuffer view of the data pointed to by the pDisabledValidationChecks field.public VkValidationFlagsEXT sType(int value)
sType field.public VkValidationFlagsEXT pNext(long value)
pNext field.public VkValidationFlagsEXT pDisabledValidationChecks(java.nio.IntBuffer value)
IntBuffer to the pDisabledValidationChecks field.public VkValidationFlagsEXT set(int sType, long pNext, java.nio.IntBuffer pDisabledValidationChecks)
public VkValidationFlagsEXT set(VkValidationFlagsEXT src)
src - the source structpublic static VkValidationFlagsEXT malloc()
VkValidationFlagsEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkValidationFlagsEXT calloc()
VkValidationFlagsEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkValidationFlagsEXT create()
VkValidationFlagsEXT instance allocated with BufferUtils.public static VkValidationFlagsEXT create(long address)
VkValidationFlagsEXT instance for the specified memory address.@Nullable public static VkValidationFlagsEXT createSafe(long address)
public static VkValidationFlagsEXT.Buffer malloc(int capacity)
VkValidationFlagsEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkValidationFlagsEXT.Buffer calloc(int capacity)
VkValidationFlagsEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkValidationFlagsEXT.Buffer create(int capacity)
VkValidationFlagsEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkValidationFlagsEXT.Buffer create(long address, int capacity)
VkValidationFlagsEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkValidationFlagsEXT.Buffer createSafe(long address, int capacity)
public static VkValidationFlagsEXT mallocStack()
VkValidationFlagsEXT instance allocated on the thread-local MemoryStack.public static VkValidationFlagsEXT callocStack()
VkValidationFlagsEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkValidationFlagsEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkValidationFlagsEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkValidationFlagsEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkValidationFlagsEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkValidationFlagsEXT.Buffer mallocStack(int capacity)
VkValidationFlagsEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkValidationFlagsEXT.Buffer callocStack(int capacity)
VkValidationFlagsEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkValidationFlagsEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkValidationFlagsEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkValidationFlagsEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkValidationFlagsEXT.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 ndisabledValidationCheckCount(long struct)
disabledValidationCheckCount().public static java.nio.IntBuffer npDisabledValidationChecks(long struct)
pDisabledValidationChecks.public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void ndisabledValidationCheckCount(long struct,
int value)
disabledValidationCheckCount field of the specified struct.public static void npDisabledValidationChecks(long struct,
java.nio.IntBuffer value)
pDisabledValidationChecks.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.