Class VkHdrMetadataEXT

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class VkHdrMetadataEXT extends Struct<VkHdrMetadataEXT> implements NativeResource
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