# VkMacOSSurfaceCreateInfoMVK(3) Manual Page

## Name

VkMacOSSurfaceCreateInfoMVK - Structure specifying parameters of a newly created macOS surface object

## C Specification

The VkMacOSSurfaceCreateInfoMVK structure is defined as:

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

## Members

- `sType` is the type of this structure.

- `pNext` is `NULL` or a pointer to an extension-specific structure.

- `flags` is reserved for future use.

- `pView` is a reference to a `NSView` object which will display this surface. This `NSView` must be backed by a `CALayer` instance of type CAMetalLayer.

## Description

Valid Usage

- `pView` must be a valid `NSView` and must be backed by a `CALayer` instance of type CAMetalLayer.

Valid Usage (Implicit)

- `sType` must be `VK_STRUCTURE_TYPE_MACOS_SURFACE_CREATE_INFO_MVK`

- `pNext` must be `NULL`

- `flags` must be `0`

## See Also

VkMacOSSurfaceCreateFlagsMVK, VkStructureType, vkCreateMacOSSurfaceMVK

## Document Notes

For more information, see the Vulkan Specification

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.

## Copyright

Copyright (c) 2014-2020 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.