Kohi Game Engine
|
Representation of the Vulkan swapchain. More...
#include <vulkan_types.h>
Data Fields | |
VkSurfaceFormatKHR | image_format |
The swapchain image format. More... | |
u8 | max_frames_in_flight |
The maximum number of "images in flight" (images simultaneously being rendered to). Typically one less than the total number of images available. 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... | |
texture * | render_textures |
An array of render targets, which contain swapchain images. More... | |
texture * | depth_textures |
An array of depth textures, one per frame. More... | |
render_target | render_targets [3] |
Render targets used for on-screen rendering, one per frame. The images contained in these are created and owned by the swapchain. More... | |
Representation of the Vulkan swapchain.
texture* depth_textures |
An array of depth textures, one per frame.
renderer_config_flags flags |
Indicates various flags used for swapchain instantiation.
VkSwapchainKHR handle |
The swapchain internal handle.
u32 image_count |
The number of swapchain images.
VkSurfaceFormatKHR image_format |
The swapchain image format.
u8 max_frames_in_flight |
The maximum number of "images in flight" (images simultaneously being rendered to). Typically one less than the total number of images available.
render_target render_targets[3] |
Render targets used for on-screen rendering, one per frame. The images contained in these are created and owned by the swapchain.
texture* render_textures |
An array of render targets, which contain swapchain images.