Class VkXlibSurfaceCreateInfoKHR

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

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


    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • flags – reserved for future use.
    • dpy – a pointer to an Xlib Display connection to the X server.
    • window – an Xlib Window to associate the surface with.


     struct VkXlibSurfaceCreateInfoKHR {
         VkStructureType sType;
         void const * pNext;
         VkXlibSurfaceCreateFlagsKHR flags;
         Display * dpy;
         Window window;
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.

        The struct member offsets.
    • Constructor Detail

      • VkXlibSurfaceCreateInfoKHR

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