mirror of
https://github.com/KhronosGroup/Vulkan-Headers
synced 2024-11-21 06:26:00 -07:00
48 lines
1.3 KiB
C
48 lines
1.3 KiB
C
#ifndef VULKAN_MACOS_H_
|
|
#define VULKAN_MACOS_H_ 1
|
|
|
|
/*
|
|
** Copyright 2015-2024 The Khronos Group Inc.
|
|
**
|
|
** SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/*
|
|
** This header is generated from the Khronos Vulkan XML API Registry.
|
|
**
|
|
*/
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
|
|
|
|
// VK_MVK_macos_surface is a preprocessor guard. Do not pass it to API calls.
|
|
#define VK_MVK_macos_surface 1
|
|
#define VK_MVK_MACOS_SURFACE_SPEC_VERSION 3
|
|
#define VK_MVK_MACOS_SURFACE_EXTENSION_NAME "VK_MVK_macos_surface"
|
|
typedef VkFlags VkMacOSSurfaceCreateFlagsMVK;
|
|
typedef struct VkMacOSSurfaceCreateInfoMVK {
|
|
VkStructureType sType;
|
|
const void* pNext;
|
|
VkMacOSSurfaceCreateFlagsMVK flags;
|
|
const void* pView;
|
|
} VkMacOSSurfaceCreateInfoMVK;
|
|
|
|
typedef VkResult (VKAPI_PTR *PFN_vkCreateMacOSSurfaceMVK)(VkInstance instance, const VkMacOSSurfaceCreateInfoMVK* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface);
|
|
|
|
#ifndef VK_NO_PROTOTYPES
|
|
VKAPI_ATTR VkResult VKAPI_CALL vkCreateMacOSSurfaceMVK(
|
|
VkInstance instance,
|
|
const VkMacOSSurfaceCreateInfoMVK* pCreateInfo,
|
|
const VkAllocationCallbacks* pAllocator,
|
|
VkSurfaceKHR* pSurface);
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|