Kohi Game Engine
vulkan_swapchain Struct Reference

Representation of the Vulkan swapchain. More...

#include <vulkan_types.h>

Data Fields

VkSurfaceFormatKHR image_format
 The swapchain image format. More...
 
renderer_config_flags flags
 Indicates various flags used for swapchain instantiation. More...
 
VkSwapchainKHR handle
 The swapchain internal handle. More...
 
u32 image_count
 The number of swapchain images. More...
 
b8 supports_blit_dest
 Supports being used as a blit destination. More...
 
b8 supports_blit_src
 Supports being used as a blit source. More...
 
khandle swapchain_colour_texture
 
u32 image_index
 The swapchain image index (i.e. the swapchain image index that will be blitted to). More...
 

Detailed Description

Representation of the Vulkan swapchain.

Field Documentation

◆ flags

Indicates various flags used for swapchain instantiation.

◆ handle

VkSwapchainKHR handle

The swapchain internal handle.

◆ image_count

u32 image_count

The number of swapchain images.

◆ image_format

VkSurfaceFormatKHR image_format

The swapchain image format.

◆ image_index

u32 image_index

The swapchain image index (i.e. the swapchain image index that will be blitted to).

◆ supports_blit_dest

b8 supports_blit_dest

Supports being used as a blit destination.

◆ supports_blit_src

b8 supports_blit_src

Supports being used as a blit source.

◆ swapchain_colour_texture

khandle swapchain_colour_texture

The documentation for this struct was generated from the following file: