Class VkVideoEndCodingInfoKHR

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

    public class VkVideoEndCodingInfoKHR
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    Structure specifying the end of decode encode commands sequence.
    Valid Usage (Implicit)
    See Also

    CmdEndVideoCodingKHR

    Layout

    
     struct VkVideoEndCodingInfoKHR {
         VkStructureType sType();
         void const * pNext();
         VkVideoEndCodingFlagsKHR flags();
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, FLAGS

        The struct member offsets.
    • Constructor Detail

      • VkVideoEndCodingInfoKHR

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

        public int flags()
        reserved for future use.
      • set

        public VkVideoEndCodingInfoKHR set​(int sType,
                                           long pNext,
                                           int flags)
        Initializes this struct with the specified values.
      • malloc

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

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

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

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

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

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

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

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

        public static void nflags​(long struct,
                                  int value)
        Unsafe version of flags.