Chronos 0.0
A advanced 2D rendering and animation system
|
Contains the swapChain class along with all the swapChain related functions. More...
#include "device.hpp"
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. | |
Contains the swapChain class along with all the swapChain related functions.
Definition in file swapchain.hpp.