Class VkDisplayPlaneInfo2KHR

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

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

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • mode – the display mode the application intends to program when using the specified plane.

    Layout

    
     struct VkDisplayPlaneInfo2KHR {
         VkStructureType sType;
         void const * pNext;
         VkDisplayModeKHR mode;
         uint32_t planeIndex;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, MODE, PLANEINDEX

        The struct member offsets.
    • Constructor Detail

      • VkDisplayPlaneInfo2KHR

        public VkDisplayPlaneInfo2KHR​(java.nio.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.