Chronos 0.0
A advanced 2D rendering and animation system
Loading...
Searching...
No Matches
swapchain.hpp File Reference

Contains the swapChain class along with all the swapChain related functions. More...

#include "device.hpp"
Include dependency graph for swapchain.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Chronos::Engine::SwapChainSupportDetails
 Contains the fields to the support details of a physical device. More...
 
class  Chronos::Engine::SwapChain
 

Namespaces

namespace  Chronos
 
namespace  Chronos::Engine
 

Functions

VkExtent2D Chronos::Engine::chooseSwapExtent (const VkSurfaceCapabilitiesKHR &capabilities, GLFWwindow *window)
 Gets the maximum extent of the swapchain images(framebuffer size).
 
VkSurfaceFormatKHR Chronos::Engine::chooseSwapSurfaceFormat (const std::vector< VkSurfaceFormatKHR > &availableFormats)
 Chooses the best present mode among the supported modes.
 
SwapChainSupportDetails Chronos::Engine::querySwapChainSupport (VkPhysicalDevice device, VkSurfaceKHR surface)
 For a given swapchain mode, it gets the capabilites, formats and present modes.
 

Detailed Description

Contains the swapChain class along with all the swapChain related functions.

Definition in file swapchain.hpp.