Class VkDisplayPropertiesKHR

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class VkDisplayPropertiesKHR extends Struct<VkDisplayPropertiesKHR> implements NativeResource

 struct VkDisplayPropertiesKHR {
     VkDisplayKHR display;
     char const * displayName;
     VkExtent2D physicalDimensions;
     VkExtent2D physicalResolution;
     VkSurfaceTransformFlagsKHR supportedTransforms;
     VkBool32 planeReorderPossible;
     VkBool32 persistentContent;
 }
  • Field Details

    • SIZEOF

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

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

      public static final int DISPLAY
      The struct member offsets.
    • DISPLAYNAME

      public static final int DISPLAYNAME
      The struct member offsets.
    • PHYSICALDIMENSIONS

      public static final int PHYSICALDIMENSIONS
      The struct member offsets.
    • PHYSICALRESOLUTION

      public static final int PHYSICALRESOLUTION
      The struct member offsets.
    • SUPPORTEDTRANSFORMS

      public static final int SUPPORTEDTRANSFORMS
      The struct member offsets.
    • PLANEREORDERPOSSIBLE

      public static final int PLANEREORDERPOSSIBLE
      The struct member offsets.
    • PERSISTENTCONTENT

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

    • VkDisplayPropertiesKHR

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