Class VkValidationFlagsEXT

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkValidationFlagsEXT>
org.lwjgl.vulkan.VkValidationFlagsEXT
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VkValidationFlagsEXT extends org.lwjgl.system.Struct<VkValidationFlagsEXT> implements org.lwjgl.system.NativeResource
Specify validation checks to disable for a Vulkan instance.
Valid Usage (Implicit)
  • sType must be STRUCTURE_TYPE_VALIDATION_FLAGS_EXT
  • pDisabledValidationChecks must be a valid pointer to an array of disabledValidationCheckCount valid VkValidationCheckEXT values
  • disabledValidationCheckCount must be greater than 0

Layout


 struct VkValidationFlagsEXT {
     VkStructureType sType();
     void const * pNext();
     uint32_t disabledValidationCheckCount();
     VkValidationCheckEXT const * pDisabledValidationChecks();
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • STYPE

      public static final int STYPE
      The struct member offsets.
    • PNEXT

      public static final int PNEXT
      The struct member offsets.
    • DISABLEDVALIDATIONCHECKCOUNT

      public static final int DISABLEDVALIDATIONCHECKCOUNT
      The struct member offsets.
    • PDISABLEDVALIDATIONCHECKS

      public static final int PDISABLEDVALIDATIONCHECKS
      The struct member offsets.
  • Constructor Details

    • VkValidationFlagsEXT

      public VkValidationFlagsEXT(ByteBuffer container)
      Creates a 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.

  • Method Details

    • sizeof

      public int sizeof()
      Specified by:
      sizeof in class org.lwjgl.system.Struct<VkValidationFlagsEXT>
    • sType

      public int sType()
      a VkStructureType value identifying this structure.
    • pNext

      public long pNext()
      NULL or a pointer to a structure extending this structure.
    • disabledValidationCheckCount

      public int disabledValidationCheckCount()
      the number of checks to disable.
    • pDisabledValidationChecks

      public IntBuffer pDisabledValidationChecks()
      a pointer to an array of VkValidationCheckEXT values specifying the validation checks to be disabled.
    • sType

      public VkValidationFlagsEXT sType(int value)
      Sets the specified value to the sType() field.
    • sType$Default

      public VkValidationFlagsEXT sType$Default()
      Sets the STRUCTURE_TYPE_VALIDATION_FLAGS_EXT value to the sType() field.
    • pNext

      public VkValidationFlagsEXT pNext(long value)
      Sets the specified value to the pNext() field.
    • pDisabledValidationChecks

      public VkValidationFlagsEXT pDisabledValidationChecks(IntBuffer value)
      Sets the address of the specified IntBuffer to the pDisabledValidationChecks() field.
    • set

      public VkValidationFlagsEXT set(int sType, long pNext, IntBuffer pDisabledValidationChecks)
      Initializes this struct with the specified values.
    • set

      Copies the specified struct data to this struct.
      Parameters:
      src - the source struct
      Returns:
      this struct
    • malloc

      public static VkValidationFlagsEXT malloc()
      Returns a new VkValidationFlagsEXT instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

      public static VkValidationFlagsEXT calloc()
      Returns a new VkValidationFlagsEXT instance allocated with memCalloc. The instance must be explicitly freed.
    • create

      public static VkValidationFlagsEXT create()
      Returns a new VkValidationFlagsEXT instance allocated with BufferUtils.
    • create

      public static VkValidationFlagsEXT create(long address)
      Returns a new VkValidationFlagsEXT instance for the specified memory address.
    • createSafe

      public static @Nullable VkValidationFlagsEXT createSafe(long address)
      Like create, but returns null if address is NULL.
    • malloc

      public static VkValidationFlagsEXT.Buffer malloc(int capacity)
      Returns a new VkValidationFlagsEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.
      Parameters:
      capacity - the buffer capacity
    • calloc

      public static VkValidationFlagsEXT.Buffer calloc(int capacity)
      Returns a new VkValidationFlagsEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.
      Parameters:
      capacity - the buffer capacity
    • create

      public static VkValidationFlagsEXT.Buffer create(int capacity)
      Returns a new VkValidationFlagsEXT.Buffer instance allocated with BufferUtils.
      Parameters:
      capacity - the buffer capacity
    • create

      public static VkValidationFlagsEXT.Buffer create(long address, int capacity)
      Create a VkValidationFlagsEXT.Buffer instance at the specified memory.
      Parameters:
      address - the memory address
      capacity - the buffer capacity
    • createSafe

      public static @Nullable VkValidationFlagsEXT.Buffer createSafe(long address, int capacity)
      Like create, but returns null if address is NULL.
    • mallocStack

      @Deprecated public static VkValidationFlagsEXT mallocStack()
      Deprecated.
      Deprecated for removal in 3.4.0. Use malloc(MemoryStack) instead.
    • callocStack

      @Deprecated public static VkValidationFlagsEXT callocStack()
      Deprecated.
      Deprecated for removal in 3.4.0. Use calloc(MemoryStack) instead.
    • mallocStack

      @Deprecated public static VkValidationFlagsEXT mallocStack(org.lwjgl.system.MemoryStack stack)
      Deprecated.
      Deprecated for removal in 3.4.0. Use malloc(MemoryStack) instead.
    • callocStack

      @Deprecated public static VkValidationFlagsEXT callocStack(org.lwjgl.system.MemoryStack stack)
      Deprecated.
      Deprecated for removal in 3.4.0. Use calloc(MemoryStack) instead.
    • mallocStack

      @Deprecated public static VkValidationFlagsEXT.Buffer mallocStack(int capacity)
      Deprecated.
      Deprecated for removal in 3.4.0. Use malloc(int, MemoryStack) instead.
    • callocStack

      @Deprecated public static VkValidationFlagsEXT.Buffer callocStack(int capacity)
      Deprecated.
      Deprecated for removal in 3.4.0. Use calloc(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. Use malloc(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. Use calloc(int, MemoryStack) instead.
    • malloc

      public static VkValidationFlagsEXT malloc(org.lwjgl.system.MemoryStack stack)
      Returns a new VkValidationFlagsEXT instance allocated on the specified MemoryStack.
      Parameters:
      stack - the stack from which to allocate
    • calloc

      public static VkValidationFlagsEXT calloc(org.lwjgl.system.MemoryStack stack)
      Returns a new VkValidationFlagsEXT instance allocated on the specified MemoryStack and 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 new VkValidationFlagsEXT.Buffer instance allocated on the specified MemoryStack.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • calloc

      public static VkValidationFlagsEXT.Buffer calloc(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.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • nsType

      public static int nsType(long struct)
      Unsafe version of sType().
    • npNext

      public static long npNext(long struct)
      Unsafe version of pNext().
    • ndisabledValidationCheckCount

      public static int ndisabledValidationCheckCount(long struct)
    • npDisabledValidationChecks

      public static IntBuffer npDisabledValidationChecks(long struct)
      Unsafe version of pDisabledValidationChecks.
    • nsType

      public static void nsType(long struct, int value)
      Unsafe version of sType.
    • npNext

      public static void npNext(long struct, long value)
      Unsafe version of pNext.
    • ndisabledValidationCheckCount

      public static void ndisabledValidationCheckCount(long struct, int value)
      Sets the specified value to the disabledValidationCheckCount field of the specified struct.
    • npDisabledValidationChecks

      public static void npDisabledValidationChecks(long struct, IntBuffer value)
      Unsafe version of pDisabledValidationChecks.
    • validate

      public static void validate(long struct)
      Validates pointer members that should not be NULL.
      Parameters:
      struct - the struct to validate