Class VkValidationFeaturesEXT

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, ENABLEDVALIDATIONFEATURECOUNT, PENABLEDVALIDATIONFEATURES, DISABLEDVALIDATIONFEATURECOUNT, PDISABLEDVALIDATIONFEATURES

        The struct member offsets.
    • Constructor Detail

      • VkValidationFeaturesEXT

        public VkValidationFeaturesEXT​(java.nio.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 Detail

      • sizeof

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

        public int sType()
        the type of this structure.
      • pNext

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

        public int enabledValidationFeatureCount()
        the number of features to enable.
      • pEnabledValidationFeatures

        @Nullable
        public java.nio.IntBuffer pEnabledValidationFeatures()
        a pointer to an array of VkValidationFeatureEnableEXT values specifying the validation features to be enabled.
      • disabledValidationFeatureCount

        public int disabledValidationFeatureCount()
        the number of features to disable.
      • pDisabledValidationFeatures

        @Nullable
        public java.nio.IntBuffer pDisabledValidationFeatures()
        a pointer to an array of VkValidationFeatureDisableEXT values specifying the validation features to be disabled.
      • set

        public VkValidationFeaturesEXT set​(int sType,
                                           long pNext,
                                           @Nullable
                                           java.nio.IntBuffer pEnabledValidationFeatures,
                                           @Nullable
                                           java.nio.IntBuffer pDisabledValidationFeatures)
        Initializes this struct with the specified values.
      • 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.
      • malloc

        public static VkValidationFeaturesEXT malloc​(org.lwjgl.system.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​(org.lwjgl.system.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
      • calloc

        public static VkValidationFeaturesEXT.Buffer calloc​(int capacity,
                                                            org.lwjgl.system.MemoryStack stack)
        Returns a new VkValidationFeaturesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
        Parameters:
        stack - the stack from which to allocate
        capacity - the buffer capacity
      • nsType

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

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

        @Nullable
        public static java.nio.IntBuffer npEnabledValidationFeatures​(long struct)
        Unsafe version of pEnabledValidationFeatures.
      • npDisabledValidationFeatures

        @Nullable
        public static java.nio.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
                                                       java.nio.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
                                                        java.nio.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