blob: 3956ee85aebb14b0b9e8315d69a92900690b37d5 [file] [log] [blame] [edit]
#ifndef VULKAN_VI_H_
#define VULKAN_VI_H_ 1
/*
** Copyright 2015-2026 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_NN_vi_surface is a preprocessor guard. Do not pass it to API calls.
#define VK_NN_vi_surface 1
#define VK_NN_VI_SURFACE_SPEC_VERSION 1
#define VK_NN_VI_SURFACE_EXTENSION_NAME "VK_NN_vi_surface"
typedef VkFlags VkViSurfaceCreateFlagsNN;
typedef struct VkViSurfaceCreateInfoNN {
VkStructureType sType VK_CPP11_DEFAULT(VK_STRUCTURE_TYPE_VI_SURFACE_CREATE_INFO_NN);
const void* pNext VK_CPP11_DEFAULT(nullptr);
VkViSurfaceCreateFlagsNN flags;
void* window;
} VkViSurfaceCreateInfoNN;
typedef VkResult (VKAPI_PTR *PFN_vkCreateViSurfaceNN)(VkInstance instance, const VkViSurfaceCreateInfoNN* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface);
#ifndef VK_NO_PROTOTYPES
#ifndef VK_ONLY_EXPORTED_PROTOTYPES
VKAPI_ATTR VkResult VKAPI_CALL vkCreateViSurfaceNN(
VkInstance instance,
const VkViSurfaceCreateInfoNN* pCreateInfo,
const VkAllocationCallbacks* pAllocator,
VkSurfaceKHR* pSurface);
#if VK_CPP20_FEATURES
extern "C++" inline VkResult vkCreateViSurfaceNN(VkInstance instance, const VkViSurfaceCreateInfoNN& pCreateInfo, VkSurfaceKHR* pSurface)
{
return vkCreateViSurfaceNN(instance, &pCreateInfo, nullptr, pSurface);
}
#endif
#endif
#endif
#ifdef __cplusplus
}
#endif
#endif