Class VkDisplaySurfaceCreateInfoKHR

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class VkDisplaySurfaceCreateInfoKHR extends Struct<VkDisplaySurfaceCreateInfoKHR> implements NativeResource
struct VkDisplaySurfaceCreateInfoKHR {
    VkStructureType sType;
    void const * pNext;
    VkDisplaySurfaceCreateFlagsKHR flags;
    VkDisplayModeKHR displayMode;
    uint32_t planeIndex;
    uint32_t planeStackIndex;
    VkSurfaceTransformFlagBitsKHR transform;
    float globalAlpha;
    VkDisplayPlaneAlphaFlagBitsKHR alphaMode;
    VkExtent2D imageExtent;
}
  • 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.
    • FLAGS

      public static final int FLAGS
      The struct member offsets.
    • DISPLAYMODE

      public static final int DISPLAYMODE
      The struct member offsets.
    • PLANEINDEX

      public static final int PLANEINDEX
      The struct member offsets.
    • PLANESTACKINDEX

      public static final int PLANESTACKINDEX
      The struct member offsets.
    • TRANSFORM

      public static final int TRANSFORM
      The struct member offsets.
    • GLOBALALPHA

      public static final int GLOBALALPHA
      The struct member offsets.
    • ALPHAMODE

      public static final int ALPHAMODE
      The struct member offsets.
    • IMAGEEXTENT

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

    • VkDisplaySurfaceCreateInfoKHR

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