Package org.lwjgl.vulkan
Class VkValidationFlagsEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkValidationFlagsEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkValidationFlagsEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceSpecify validation checks to disable for a Vulkan instance.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_VALIDATION_FLAGS_EXTpDisabledValidationChecksmust be a valid pointer to an array ofdisabledValidationCheckCountvalidVkValidationCheckEXTvaluesdisabledValidationCheckCountmust be greater than 0
Member documentation
sType– the type of this structure.pNext–NULLor a pointer to an extension-specific structure.disabledValidationCheckCount– the number of checks to disable.pDisabledValidationChecks– a pointer to an array ofVkValidationCheckEXTvalues specifying the validation checks to be disabled.
Layout
struct VkValidationFlagsEXT { VkStructureType sType; void const * pNext; uint32_t disabledValidationCheckCount; VkValidationCheckEXT const * pDisabledValidationChecks; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkValidationFlagsEXT.BufferAn array ofVkValidationFlagsEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intDISABLEDVALIDATIONCHECKCOUNT
PDISABLEDVALIDATIONCHECKS
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkValidationFlagsEXT(java.nio.ByteBuffer container)Creates aVkValidationFlagsEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkValidationFlagsEXTcalloc()Returns a newVkValidationFlagsEXTinstance allocated withmemCalloc.static VkValidationFlagsEXT.Buffercalloc(int capacity)Returns a newVkValidationFlagsEXT.Bufferinstance allocated withmemCalloc.static VkValidationFlagsEXTcallocStack()Returns a newVkValidationFlagsEXTinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkValidationFlagsEXT.BuffercallocStack(int capacity)Returns a newVkValidationFlagsEXT.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkValidationFlagsEXT.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkValidationFlagsEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkValidationFlagsEXTcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkValidationFlagsEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkValidationFlagsEXTcreate()Returns a newVkValidationFlagsEXTinstance allocated withBufferUtils.static VkValidationFlagsEXT.Buffercreate(int capacity)Returns a newVkValidationFlagsEXT.Bufferinstance allocated withBufferUtils.static VkValidationFlagsEXTcreate(long address)Returns a newVkValidationFlagsEXTinstance for the specified memory address.static VkValidationFlagsEXT.Buffercreate(long address, int capacity)Create aVkValidationFlagsEXT.Bufferinstance at the specified memory.static VkValidationFlagsEXTcreateSafe(long address)static VkValidationFlagsEXT.BuffercreateSafe(long address, int capacity)intdisabledValidationCheckCount()Returns the value of thedisabledValidationCheckCountfield.static VkValidationFlagsEXTmalloc()Returns a newVkValidationFlagsEXTinstance allocated withmemAlloc.static VkValidationFlagsEXT.Buffermalloc(int capacity)Returns a newVkValidationFlagsEXT.Bufferinstance allocated withmemAlloc.static VkValidationFlagsEXTmallocStack()Returns a newVkValidationFlagsEXTinstance allocated on the thread-localMemoryStack.static VkValidationFlagsEXT.BuffermallocStack(int capacity)Returns a newVkValidationFlagsEXT.Bufferinstance allocated on the thread-localMemoryStack.static VkValidationFlagsEXT.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkValidationFlagsEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkValidationFlagsEXTmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkValidationFlagsEXTinstance allocated on the specifiedMemoryStack.static intndisabledValidationCheckCount(long struct)Unsafe version ofdisabledValidationCheckCount().static voidndisabledValidationCheckCount(long struct, int value)Sets the specified value to thedisabledValidationCheckCountfield of the specifiedstruct.static java.nio.IntBuffernpDisabledValidationChecks(long struct)Unsafe version ofpDisabledValidationChecks.static voidnpDisabledValidationChecks(long struct, java.nio.IntBuffer value)Unsafe version ofpDisabledValidationChecks.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.java.nio.IntBufferpDisabledValidationChecks()Returns aIntBufferview of the data pointed to by thepDisabledValidationChecksfield.VkValidationFlagsEXTpDisabledValidationChecks(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto thepDisabledValidationChecksfield.longpNext()Returns the value of thepNextfield.VkValidationFlagsEXTpNext(long value)Sets the specified value to thepNextfield.VkValidationFlagsEXTset(int sType, long pNext, java.nio.IntBuffer pDisabledValidationChecks)Initializes this struct with the specified values.VkValidationFlagsEXTset(VkValidationFlagsEXT src)Copies the specified struct data to this struct.intsizeof()intsType()Returns the value of thesTypefield.VkValidationFlagsEXTsType(int value)Sets the specified value to thesTypefield.static voidvalidate(long struct)Validates pointer members that should not beNULL.static voidvalidate(long array, int count)Callsvalidate(long)for each struct contained in the specified struct array.
-
-
-
Constructor Detail
-
VkValidationFlagsEXT
public VkValidationFlagsEXT(java.nio.ByteBuffer container)
Creates aVkValidationFlagsEXTinstance 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
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
Returns the value of thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
disabledValidationCheckCount
public int disabledValidationCheckCount()
Returns the value of thedisabledValidationCheckCountfield.
-
pDisabledValidationChecks
public java.nio.IntBuffer pDisabledValidationChecks()
Returns aIntBufferview of the data pointed to by thepDisabledValidationChecksfield.
-
sType
public VkValidationFlagsEXT sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkValidationFlagsEXT pNext(long value)
Sets the specified value to thepNextfield.
-
pDisabledValidationChecks
public VkValidationFlagsEXT pDisabledValidationChecks(java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thepDisabledValidationChecksfield.
-
set
public VkValidationFlagsEXT set(int sType, long pNext, java.nio.IntBuffer pDisabledValidationChecks)
Initializes this struct with the specified values.
-
set
public VkValidationFlagsEXT set(VkValidationFlagsEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkValidationFlagsEXT malloc()
Returns a newVkValidationFlagsEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkValidationFlagsEXT calloc()
Returns a newVkValidationFlagsEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkValidationFlagsEXT create()
Returns a newVkValidationFlagsEXTinstance allocated withBufferUtils.
-
create
public static VkValidationFlagsEXT create(long address)
Returns a newVkValidationFlagsEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkValidationFlagsEXT createSafe(long address)
-
malloc
public static VkValidationFlagsEXT.Buffer malloc(int capacity)
Returns a newVkValidationFlagsEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkValidationFlagsEXT.Buffer calloc(int capacity)
Returns a newVkValidationFlagsEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkValidationFlagsEXT.Buffer create(int capacity)
Returns a newVkValidationFlagsEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkValidationFlagsEXT.Buffer create(long address, int capacity)
Create aVkValidationFlagsEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkValidationFlagsEXT.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkValidationFlagsEXT mallocStack()
Returns a newVkValidationFlagsEXTinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkValidationFlagsEXT callocStack()
Returns a newVkValidationFlagsEXTinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkValidationFlagsEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkValidationFlagsEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkValidationFlagsEXT callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkValidationFlagsEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static VkValidationFlagsEXT.Buffer mallocStack(int capacity)
Returns a newVkValidationFlagsEXT.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkValidationFlagsEXT.Buffer callocStack(int capacity)
Returns a newVkValidationFlagsEXT.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkValidationFlagsEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkValidationFlagsEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static VkValidationFlagsEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkValidationFlagsEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType().
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext().
-
ndisabledValidationCheckCount
public static int ndisabledValidationCheckCount(long struct)
Unsafe version ofdisabledValidationCheckCount().
-
npDisabledValidationChecks
public static java.nio.IntBuffer npDisabledValidationChecks(long struct)
Unsafe version ofpDisabledValidationChecks.
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
ndisabledValidationCheckCount
public static void ndisabledValidationCheckCount(long struct, int value)Sets the specified value to thedisabledValidationCheckCountfield of the specifiedstruct.
-
npDisabledValidationChecks
public static void npDisabledValidationChecks(long struct, java.nio.IntBuffer value)Unsafe version ofpDisabledValidationChecks.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-
validate
public static void validate(long array, int count)Callsvalidate(long)for each struct contained in the specified struct array.- Parameters:
array- the struct array to validatecount- the number of structs inarray
-
-