SPARK  0.1.0
A general purpose game engine written in C++.
Loading...
Searching...
No Matches
spark::render::vk::VulkanSwapChain::Impl Struct Reference

Public Member Functions

 Impl (const VulkanDevice &device)
 
void initialize (const Format format, const math::Vector2< unsigned > &render_area, const unsigned buffers)
 
void reset (const Format format, const math::Vector2< unsigned > &render_area, const unsigned buffers)
 
void cleanup ()
 
unsigned swapBackBuffer ()
 
void present (const VulkanFrameBuffer &frame_buffer)
 

Static Public Member Functions

static std::vector< Format > GetSurfaceFormats (const VkPhysicalDevice adapter, const VkSurfaceKHR surface) noexcept
 
static VkColorSpaceKHR FindColorSpace (const VkPhysicalDevice adapter, const VkSurfaceKHR surface, Format format) noexcept
 

Friends

class VulkanSwapChain