Class VkVideoFormatPropertiesKHR

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

    public class VkVideoFormatPropertiesKHR
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    Structure enumerating the video image formats.
    Description

    If the pVideoProfiles provided in input structure pVideoFormatInfo are not supported, ERROR_FORMAT_NOT_SUPPORTED is returned. If the implementation requires an opaque video decode or encode DPB, then when querying with the corresponding video decode or encode DPB image usage in imageUsage, only one image format is returned: FORMAT_UNDEFINED.

    Valid Usage (Implicit)
    See Also

    GetPhysicalDeviceVideoFormatPropertiesKHR

    Layout

    
     struct VkVideoFormatPropertiesKHR {
         VkStructureType sType();
         void * pNext();
         VkFormat format();
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

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

        The struct member offsets.
    • Constructor Detail

      • VkVideoFormatPropertiesKHR

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