VkMetalSurfaceCreateInfoEXT(3)

# VkMetalSurfaceCreateInfoEXT(3) Manual Page

## Name

VkMetalSurfaceCreateInfoEXT - Structure specifying parameters of a newly created Metal surface object

## C Specification

The VkMetalSurfaceCreateInfoEXT structure is defined as:

    typedef struct VkMetalSurfaceCreateInfoEXT {
        VkStructureType                 sType;
        const void*                     pNext;
        VkMetalSurfaceCreateFlagsEXT    flags;
        const CAMetalLayer*             pLayer;
    } VkMetalSurfaceCreateInfoEXT;

## 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.

- `pLayer` is a reference to a CAMetalLayer object representing a renderable surface.

## Description

Valid Usage (Implicit)

- `sType` must be `VK_STRUCTURE_TYPE_METAL_SURFACE_CREATE_INFO_EXT`

- `pNext` must be `NULL`

- `flags` must be `0`

## See Also

VkMetalSurfaceCreateFlagsEXT, VkStructureType, vkCreateMetalSurfaceEXT

## 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.