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
Layout
struct VkValidationFlagsEXT { VkStructureTypesType(); void const *pNext(); uint32_tdisabledValidationCheckCount(); 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 Deprecated 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 VkValidationFlagsEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkValidationFlagsEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkValidationFlagsEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkValidationFlagsEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkValidationFlagsEXTcallocStack()Deprecated.static VkValidationFlagsEXT.BuffercallocStack(int capacity)Deprecated.static VkValidationFlagsEXT.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkValidationFlagsEXTcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.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()the number of checks to disable.static VkValidationFlagsEXTmalloc()Returns a newVkValidationFlagsEXTinstance allocated withmemAlloc.static VkValidationFlagsEXT.Buffermalloc(int capacity)Returns a newVkValidationFlagsEXT.Bufferinstance allocated withmemAlloc.static VkValidationFlagsEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkValidationFlagsEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkValidationFlagsEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkValidationFlagsEXTinstance allocated on the specifiedMemoryStack.static VkValidationFlagsEXTmallocStack()Deprecated.static VkValidationFlagsEXT.BuffermallocStack(int capacity)Deprecated.static VkValidationFlagsEXT.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkValidationFlagsEXTmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.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()a pointer to an array ofVkValidationCheckEXTvalues specifying the validation checks to be disabled.VkValidationFlagsEXTpDisabledValidationChecks(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto thepDisabledValidationChecks()field.longpNext()NULLor a pointer to a structure extending this structure.VkValidationFlagsEXTpNext(long value)Sets the specified value to thepNext()field.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()the type of this structure.VkValidationFlagsEXTsType(int value)Sets the specified value to thesType()field.VkValidationFlagsEXTsType$Default()Sets theSTRUCTURE_TYPE_VALIDATION_FLAGS_EXTvalue to thesType()field.static voidvalidate(long struct)Validates pointer members that should not beNULL.
-
-
-
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()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
disabledValidationCheckCount
public int disabledValidationCheckCount()
the number of checks to disable.
-
pDisabledValidationChecks
public java.nio.IntBuffer pDisabledValidationChecks()
a pointer to an array ofVkValidationCheckEXTvalues specifying the validation checks to be disabled.
-
sType
public VkValidationFlagsEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkValidationFlagsEXT sType$Default()
Sets theSTRUCTURE_TYPE_VALIDATION_FLAGS_EXTvalue to thesType()field.
-
pNext
public VkValidationFlagsEXT pNext(long value)
Sets the specified value to thepNext()field.
-
pDisabledValidationChecks
public VkValidationFlagsEXT pDisabledValidationChecks(java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thepDisabledValidationChecks()field.
-
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
@Deprecated public static VkValidationFlagsEXT mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkValidationFlagsEXT callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkValidationFlagsEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkValidationFlagsEXT callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkValidationFlagsEXT.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkValidationFlagsEXT.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkValidationFlagsEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkValidationFlagsEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkValidationFlagsEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkValidationFlagsEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkValidationFlagsEXT calloc(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
-
malloc
public static VkValidationFlagsEXT.Buffer malloc(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
-
calloc
public static VkValidationFlagsEXT.Buffer calloc(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
-
-