Class VkConformanceVersion

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • MAJOR, MINOR, SUBMINOR, PATCH

        The struct member offsets.
    • Constructor Detail

      • VkConformanceVersion

        public VkConformanceVersion​(java.nio.ByteBuffer container)
        Creates a VkConformanceVersion 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
      • major

        public byte major()
        the major version number of the conformance test suite.
      • minor

        public byte minor()
        the minor version number of the conformance test suite.
      • subminor

        public byte subminor()
        the subminor version number of the conformance test suite.
      • patch

        public byte patch()
        the patch version number of the conformance test suite.
      • set

        public VkConformanceVersion set​(byte major,
                                        byte minor,
                                        byte subminor,
                                        byte patch)
        Initializes this struct with the specified values.
      • malloc

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

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

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

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

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

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

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

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

        public static VkConformanceVersion.Buffer calloc​(int capacity,
                                                         org.lwjgl.system.MemoryStack stack)
        Returns a new VkConformanceVersion.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
      • nmajor

        public static byte nmajor​(long struct)
        Unsafe version of major().
      • nminor

        public static byte nminor​(long struct)
        Unsafe version of minor().
      • nsubminor

        public static byte nsubminor​(long struct)
        Unsafe version of subminor().
      • npatch

        public static byte npatch​(long struct)
        Unsafe version of patch().
      • nmajor

        public static void nmajor​(long struct,
                                  byte value)
        Unsafe version of major.
      • nminor

        public static void nminor​(long struct,
                                  byte value)
        Unsafe version of minor.
      • nsubminor

        public static void nsubminor​(long struct,
                                     byte value)
        Unsafe version of subminor.
      • npatch

        public static void npatch​(long struct,
                                  byte value)
        Unsafe version of patch.