Kohi Game Engine
vulkan_device.h
Go to the documentation of this file.
1 
14 #pragma once
15 
16 #include "vulkan_types.h"
17 
25 
32 
41  VkPhysicalDevice physical_device,
42  VkSurfaceKHR surface,
43  vulkan_swapchain_support_info* out_support_info);
44 
_Bool b8
8-bit boolean type
Definition: defines.h:58
The overall Vulkan context for the backend. Holds and maintains global renderer backend state,...
Definition: vulkan_types.h:564
A representation of both the physical and logical Vulkan devices. Also contains handles to queues,...
Definition: vulkan_types.h:92
Contains swapchain support information and capabilities.
Definition: vulkan_types.h:56
b8 vulkan_device_detect_depth_format(vulkan_device *device)
Detects and assigns the depth format for the given device.
b8 vulkan_device_create(vulkan_context *context)
Creates a new Vulkan device and assigns it to the given context.
void vulkan_device_query_swapchain_support(VkPhysicalDevice physical_device, VkSurfaceKHR surface, vulkan_swapchain_support_info *out_support_info)
Queries for swapchain support data for the given physical device and surface.
void vulkan_device_destroy(vulkan_context *context)
Destroys the device present in the given context.
This file contains a collection fo Vulkan-specific types used for the Vulkan backend.