Kohi Game Engine
vulkan_swapchain.h File Reference

The Vulkan swapchain, which works with the framebuffer/attachments and the surface to present an image to the screen. More...

#include "vulkan_types.h"

Go to the source code of this file.

Functions

b8 vulkan_swapchain_create (struct renderer_backend_interface *backend, struct kwindow *window, renderer_config_flags flags, vulkan_swapchain *out_swapchain)
 
b8 vulkan_swapchain_recreate (struct renderer_backend_interface *backend, struct kwindow *window, vulkan_swapchain *swapchain)
 
void vulkan_swapchain_destroy (struct renderer_backend_interface *backend, vulkan_swapchain *swapchain)
 

Detailed Description

The Vulkan swapchain, which works with the framebuffer/attachments and the surface to present an image to the screen.

Author
Travis Vroman (travi.nosp@m.s@ko.nosp@m.hieng.nosp@m.ine..nosp@m.com)
Version
1.0
Date
2022-01-11

Function Documentation

◆ vulkan_swapchain_create()

b8 vulkan_swapchain_create ( struct renderer_backend_interface backend,
struct kwindow window,
renderer_config_flags  flags,
vulkan_swapchain out_swapchain 
)

◆ vulkan_swapchain_destroy()

void vulkan_swapchain_destroy ( struct renderer_backend_interface backend,
vulkan_swapchain swapchain 
)

◆ vulkan_swapchain_recreate()

b8 vulkan_swapchain_recreate ( struct renderer_backend_interface backend,
struct kwindow window,
vulkan_swapchain swapchain 
)