Class VkValidationFeaturesEXT

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class VkValidationFeaturesEXT extends Struct<VkValidationFeaturesEXT> implements NativeResource

 struct VkValidationFeaturesEXT {
     VkStructureType sType;
     void const * pNext;
     uint32_t enabledValidationFeatureCount;
     VkValidationFeatureEnableEXT const * pEnabledValidationFeatures;
     uint32_t disabledValidationFeatureCount;
     VkValidationFeatureDisableEXT const * pDisabledValidationFeatures;
 }
  • 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.
    • ENABLEDVALIDATIONFEATURECOUNT

      public static final int ENABLEDVALIDATIONFEATURECOUNT
      The struct member offsets.
    • PENABLEDVALIDATIONFEATURES

      public static final int PENABLEDVALIDATIONFEATURES
      The struct member offsets.
    • DISABLEDVALIDATIONFEATURECOUNT

      public static final int DISABLEDVALIDATIONFEATURECOUNT
      The struct member offsets.
    • PDISABLEDVALIDATIONFEATURES

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

    • VkValidationFeaturesEXT

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

  • Method Details

    • sizeof

      public int sizeof()
      Description copied from class: Struct
      Returns sizeof(struct).
      Specified by:
      sizeof in class Struct<VkValidationFeaturesEXT>
    • sType

      public int sType()
      Returns:
      the value of the sType field.
    • pNext

      public long pNext()
      Returns:
      the value of the pNext field.
    • enabledValidationFeatureCount

      public int enabledValidationFeatureCount()
      Returns:
      the value of the enabledValidationFeatureCount field.
    • pEnabledValidationFeatures

      public @Nullable IntBuffer pEnabledValidationFeatures()
      Returns:
      a IntBuffer view of the data pointed to by the pEnabledValidationFeatures field.
    • disabledValidationFeatureCount

      public int disabledValidationFeatureCount()
      Returns:
      the value of the disabledValidationFeatureCount field.
    • pDisabledValidationFeatures

      public @Nullable IntBuffer pDisabledValidationFeatures()
      Returns:
      a IntBuffer view of the data pointed to by the pDisabledValidationFeatures field.
    • sType

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

      public VkValidationFeaturesEXT sType$Default()
      Sets the STRUCTURE_TYPE_VALIDATION_FEATURES_EXT value to the sType field.
    • pNext

      public VkValidationFeaturesEXT pNext(long value)
      Sets the specified value to the pNext field.
    • pEnabledValidationFeatures

      public VkValidationFeaturesEXT pEnabledValidationFeatures(@Nullable IntBuffer value)
      Sets the address of the specified IntBuffer to the pEnabledValidationFeatures field.
    • pDisabledValidationFeatures

      public VkValidationFeaturesEXT pDisabledValidationFeatures(@Nullable IntBuffer value)
      Sets the address of the specified IntBuffer to the pDisabledValidationFeatures field.
    • set

      public VkValidationFeaturesEXT set(int sType, long pNext, @Nullable IntBuffer pEnabledValidationFeatures, @Nullable IntBuffer pDisabledValidationFeatures)
      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 VkValidationFeaturesEXT malloc()
      Returns a new VkValidationFeaturesEXT instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

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

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

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

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

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

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

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

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

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

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

      public static VkValidationFeaturesEXT calloc(MemoryStack stack)
      Returns a new VkValidationFeaturesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      stack - the stack from which to allocate
    • malloc

      public static VkValidationFeaturesEXT.Buffer malloc(int capacity, MemoryStack stack)
      Returns a new VkValidationFeaturesEXT.Buffer instance allocated on the specified MemoryStack.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • calloc

      public static VkValidationFeaturesEXT.Buffer calloc(int capacity, MemoryStack stack)
      Returns a new VkValidationFeaturesEXT.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().
    • nenabledValidationFeatureCount

      public static int nenabledValidationFeatureCount(long struct)
    • npEnabledValidationFeatures

      public static @Nullable IntBuffer npEnabledValidationFeatures(long struct)
      Unsafe version of pEnabledValidationFeatures.
    • ndisabledValidationFeatureCount

      public static int ndisabledValidationFeatureCount(long struct)
    • npDisabledValidationFeatures

      public static @Nullable IntBuffer npDisabledValidationFeatures(long struct)
      Unsafe version of pDisabledValidationFeatures.
    • 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.
    • nenabledValidationFeatureCount

      public static void nenabledValidationFeatureCount(long struct, int value)
      Sets the specified value to the enabledValidationFeatureCount field of the specified struct.
    • npEnabledValidationFeatures

      public static void npEnabledValidationFeatures(long struct, @Nullable IntBuffer value)
      Unsafe version of pEnabledValidationFeatures.
    • ndisabledValidationFeatureCount

      public static void ndisabledValidationFeatureCount(long struct, int value)
      Sets the specified value to the disabledValidationFeatureCount field of the specified struct.
    • npDisabledValidationFeatures

      public static void npDisabledValidationFeatures(long struct, @Nullable IntBuffer value)
      Unsafe version of pDisabledValidationFeatures.
    • validate

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