vulkan_entry_points.h (576B)
1 // SPDX-FileCopyrightText: 2019-2023 Connor McLaughlin <stenzek@gmail.com> 2 // SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0) 3 4 #pragma once 5 6 #ifdef __cplusplus 7 extern "C" { 8 #endif 9 10 #define VULKAN_MODULE_ENTRY_POINT(name, required) extern PFN_##name name; 11 #define VULKAN_INSTANCE_ENTRY_POINT(name, required) extern PFN_##name name; 12 #define VULKAN_DEVICE_ENTRY_POINT(name, required) extern PFN_##name name; 13 #include "vulkan_entry_points.inl" 14 #undef VULKAN_DEVICE_ENTRY_POINT 15 #undef VULKAN_INSTANCE_ENTRY_POINT 16 #undef VULKAN_MODULE_ENTRY_POINT 17 18 #ifdef __cplusplus 19 } 20 #endif