Chicane

Swap Chain

Header
Chicane/Renderer/Vulkan/SwapChain.hpp
Namespace
Chicane::Vulkan::SwapChain

Functions

AccessModifierTypeNameDescription
publicvoidquerySupport(SupportDetails& outSupportDetails, const vk::PhysicalDevice& inPhysicalDevice, const vk::SurfaceKHR& inSurface)
publicvoidpickSurfaceFormat(vk::SurfaceFormatKHR& outSurfaceFormat, const std::vector<vk::SurfaceFormatKHR>& inSurfaceFormats)
publicvoidpickPresentMode(vk::PresentModeKHR& outPresentMode, const std::vector<vk::PresentModeKHR>& inPresentModes)
publicvoidpickExtent(vk::Extent2D& outExtent, std::uint32_t inWidth, std::uint32_t inHeight, const vk::SurfaceCapabilitiesKHR& inCapabilities)
publicvoidinit(Bundle& outSwapChain, const vk::PhysicalDevice& inPhysicalDevice, const vk::Device& inLogicalDevice, const vk::SurfaceKHR& inSurface, const Vec<2, int>& inResolution)