• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (c) 2015-2018 The Brenwill Workshop Ltd. This work is licensed under a
2// Creative Commons Attribution 4.0 International License; see
3// http://creativecommons.org/licenses/by/4.0/
4
5include::meta/VK_MVK_macos_surface.txt[]
6
7*Last Modified Date*::
8    2017-02-24
9*IP Status*::
10    No known IP claims.
11*Contributors*::
12  - Bill Hollings, The Brenwill Workshop Ltd.
13
14The `VK_MVK_macos_surface` extension is an instance extension.
15It provides a mechanism to create a slink:VkSurfaceKHR object (defined by
16the `<<VK_KHR_surface>>` extension) that refers to an code:NSView, the
17native surface type of macOS, which is underpinned by a code:CAMetalLayer,
18to support rendering to the surface using Apple's Metal framework.
19
20=== New Object Types
21
22None.
23
24=== New Enum Constants
25
26  * Extending elink:VkStructureType:
27  ** ename:VK_STRUCTURE_TYPE_MACOS_SURFACE_CREATE_INFO_MVK
28
29=== New Enums
30
31None.
32
33=== New Structures
34
35  * slink:VkMacOSSurfaceCreateInfoMVK
36
37=== New Functions
38
39  * flink:vkCreateMacOSSurfaceMVK
40
41=== Issues
42
43None.
44
45=== Version History
46
47 * Revision 1, 2017-02-15 (Bill Hollings)
48   - Initial draft.
49
50 * Revision 2, 2017-02-24 (Bill Hollings)
51   - Minor syntax fix to emphasize firm requirement for NSView to be backed
52     by a CAMetalLayer.
53