Class VkVideoProfilesKHR

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, PROFILECOUNT, PPROFILES

        The struct member offsets.
    • Constructor Detail

      • VkVideoProfilesKHR

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

        public int profileCount()
        an integer which holds the number of video profiles included in pProfiles.
      • malloc

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

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

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

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

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

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

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

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

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

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

        public static int nprofileCount​(long struct)
        Unsafe version of profileCount().
      • 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.
      • nprofileCount

        public static void nprofileCount​(long struct,
                                         int value)
        Unsafe version of profileCount.
      • validate

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