Class VkMetalSurfaceCreateInfoEXT

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

    public class VkMetalSurfaceCreateInfoEXT
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    Structure specifying parameters of a newly created Metal surface object.
    Valid Usage (Implicit)
    See Also

    CreateMetalSurfaceEXT

    Layout

    
     struct VkMetalSurfaceCreateInfoEXT {
         VkStructureType sType();
         void const * pNext();
         VkMetalSurfaceCreateFlagsEXT flags();
         CAMetalLayer const * pLayer(int);
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, FLAGS, PLAYER

        The struct member offsets.
    • Constructor Detail

      • VkMetalSurfaceCreateInfoEXT

        public VkMetalSurfaceCreateInfoEXT​(java.nio.ByteBuffer container)
        Creates a VkMetalSurfaceCreateInfoEXT 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.