Class VkMacOSSurfaceCreateInfoMVK

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class VkMacOSSurfaceCreateInfoMVK extends Struct<VkMacOSSurfaceCreateInfoMVK> implements NativeResource
Structure specifying parameters of a newly created macOS surface object.
Valid Usage
  • If pView is a CAMetalLayer object, it must be a valid CAMetalLayer
  • If pView is an NSView object, it must be a valid NSView, must be backed by a CALayer object of type CAMetalLayer, and CreateMacOSSurfaceMVK must be called on the main thread
Valid Usage (Implicit)
See Also

CreateMacOSSurfaceMVK

Layout


 struct VkMacOSSurfaceCreateInfoMVK {
     VkStructureType sType();
     void const * pNext();
     VkMacOSSurfaceCreateFlagsMVK flags();
     void const * pView();
 }