Kohi Game Engine
|
This file contains the "front end interface" for where the platform and Vulkan meet. The implementation for this should exist in the corresponding .c file for a given platform. More...
#include <defines.h>
Go to the source code of this file.
Functions | |
b8 | platform_create_vulkan_surface (struct vulkan_context *context) |
Creates and assigns a surface to the given context. More... | |
void | platform_get_required_extension_names (const char ***names_darray) |
Appends the names of required extensions for this platform to the names_darray, which should be created and passed in. More... | |
This file contains the "front end interface" for where the platform and Vulkan meet. The implementation for this should exist in the corresponding .c file for a given platform.
b8 platform_create_vulkan_surface | ( | struct vulkan_context * | context | ) |
Creates and assigns a surface to the given context.
context | A pointer to the Vulkan context. |
void platform_get_required_extension_names | ( | const char *** | names_darray | ) |
Appends the names of required extensions for this platform to the names_darray, which should be created and passed in.
names_darray | A pointer to the array names of required extension names. Must be a darray as this function adds names to the array. |