Backlog/lib/sdl3/parser/test_output/SDL_vulkan.json

100 lines
2.0 KiB
JSON

{
"header": "SDL_vulkan.h",
"opaque_types": [],
"typedefs": [],
"function_pointers": [],
"enums": [],
"structs": [],
"unions": [],
"flags": [],
"functions": [
{
"name": "SDL_Vulkan_LoadLibrary",
"return_type": "bool",
"parameters": [
{
"name": "path",
"type": "const char *"
}
]
},
{
"name": "SDL_Vulkan_GetVkGetInstanceProcAddr",
"return_type": "SDL_FunctionPointer",
"parameters": []
},
{
"name": "SDL_Vulkan_UnloadLibrary",
"return_type": "void",
"parameters": []
},
{
"name": "SDL_Vulkan_GetInstanceExtensions",
"return_type": "char const * const *",
"parameters": [
{
"name": "count",
"type": "Uint32 *"
}
]
},
{
"name": "SDL_Vulkan_CreateSurface",
"return_type": "bool",
"parameters": [
{
"name": "window",
"type": "SDL_Window *"
},
{
"name": "instance",
"type": "VkInstance"
},
{
"name": "allocator",
"type": "const struct VkAllocationCallbacks *"
},
{
"name": "surface",
"type": "VkSurfaceKHR *"
}
]
},
{
"name": "SDL_Vulkan_DestroySurface",
"return_type": "void",
"parameters": [
{
"name": "instance",
"type": "VkInstance"
},
{
"name": "surface",
"type": "VkSurfaceKHR"
},
{
"name": "allocator",
"type": "const struct VkAllocationCallbacks *"
}
]
},
{
"name": "SDL_Vulkan_GetPresentationSupport",
"return_type": "bool",
"parameters": [
{
"name": "instance",
"type": "VkInstance"
},
{
"name": "physicalDevice",
"type": "VkPhysicalDevice"
},
{
"name": "queueFamilyIndex",
"type": "Uint32"
}
]
}
]
}