mirror of
https://github.com/opencv/opencv.git
synced 2024-12-15 18:09:11 +08:00
48 lines
1.2 KiB
C
48 lines
1.2 KiB
C
#ifndef VULKAN_MACOS_H_
|
|
#define VULKAN_MACOS_H_ 1
|
|
|
|
/*
|
|
** Copyright 2015-2023 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
|
|
|
|
|
|
|
|
#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
|