Class VkXlibSurfaceCreateInfoKHR

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

public class VkXlibSurfaceCreateInfoKHR extends org.lwjgl.system.Struct<VkXlibSurfaceCreateInfoKHR> implements org.lwjgl.system.NativeResource
Structure specifying parameters of a newly created Xlib surface object.
Valid Usage
  • dpy must point to a valid Xlib Display
  • window must be a valid Xlib Window
Valid Usage (Implicit)
See Also

CreateXlibSurfaceKHR

Layout


 struct VkXlibSurfaceCreateInfoKHR {
     VkStructureType sType();
     void const * pNext();
     VkXlibSurfaceCreateFlagsKHR flags();
     Display * dpy();
     Window window();
 }
  • 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.
    • DPY

      public static final int DPY
      The struct member offsets.
    • WINDOW

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

    • VkXlibSurfaceCreateInfoKHR

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