Class VkHdrMetadataEXT

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkHdrMetadataEXT>
org.lwjgl.vulkan.VkHdrMetadataEXT
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VkHdrMetadataEXT extends org.lwjgl.system.Struct<VkHdrMetadataEXT> implements org.lwjgl.system.NativeResource
Specify HDR metadata.
Description

If any of the above values are unknown, they can be set to 0.

Note

The meta-data provided here is intended to be used as defined in the SMPTE 2086, CTA 861.3 and CIE 15:2004 specifications. The validity and use of this data is outside the scope of Vulkan.

Valid Usage (Implicit)
See Also

VkXYColorEXT, SetHdrMetadataEXT

Layout


 struct VkHdrMetadataEXT {
     VkStructureType sType();
     void const * pNext();
     VkXYColorEXT displayPrimaryRed();
     VkXYColorEXT displayPrimaryGreen();
     VkXYColorEXT displayPrimaryBlue();
     VkXYColorEXT whitePoint();
     float maxLuminance();
     float minLuminance();
     float maxContentLightLevel();
     float maxFrameAverageLightLevel();
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • STYPE

      public static final int STYPE
      The struct member offsets.
    • PNEXT

      public static final int PNEXT
      The struct member offsets.
    • DISPLAYPRIMARYRED

      public static final int DISPLAYPRIMARYRED
      The struct member offsets.
    • DISPLAYPRIMARYGREEN

      public static final int DISPLAYPRIMARYGREEN
      The struct member offsets.
    • DISPLAYPRIMARYBLUE

      public static final int DISPLAYPRIMARYBLUE
      The struct member offsets.
    • WHITEPOINT

      public static final int WHITEPOINT
      The struct member offsets.
    • MAXLUMINANCE

      public static final int MAXLUMINANCE
      The struct member offsets.
    • MINLUMINANCE

      public static final int MINLUMINANCE
      The struct member offsets.
    • MAXCONTENTLIGHTLEVEL

      public static final int MAXCONTENTLIGHTLEVEL
      The struct member offsets.
    • MAXFRAMEAVERAGELIGHTLEVEL

      public static final int MAXFRAMEAVERAGELIGHTLEVEL
      The struct member offsets.
  • Constructor Details

    • VkHdrMetadataEXT

      public VkHdrMetadataEXT(ByteBuffer container)
      Creates a VkHdrMetadataEXT 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 Details