Class VkDisplayPlaneInfo2KHR

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

public class VkDisplayPlaneInfo2KHR extends org.lwjgl.system.Struct<VkDisplayPlaneInfo2KHR> implements org.lwjgl.system.NativeResource
Structure defining the intended configuration of a display plane.
Description
Note

This parameter also implicitly specifies a display.

  • planeIndex is the plane which the application intends to use with the display.

The members of VkDisplayPlaneInfo2KHR correspond to the arguments to GetDisplayPlaneCapabilitiesKHR, with sType and pNext added for extensibility.

Valid Usage (Implicit)
Host Synchronization
  • Host access to mode must be externally synchronized
See Also

GetDisplayPlaneCapabilities2KHR

Layout


 struct VkDisplayPlaneInfo2KHR {
     VkStructureType sType();
     void const * pNext();
     VkDisplayModeKHR mode();
     uint32_t planeIndex;
 }
  • 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.
    • MODE

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

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

    • VkDisplayPlaneInfo2KHR

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