Class VkScopedSwapChain

Class Documentation

class VkScopedSwapChain

Public Functions

VkScopedSwapChain(Memory::Allocator &allocator, Log logger)
void Create(VkDevice device, VkPhysicalDevice physicalDevice, VkQueue graphicsQueue, VkCommandPool graphicsCommandPool, VkSurfaceKHR surface, const VkQueueIndices &queueIndices, const SwapChainDeviceSupport &swapChainSupport, const SwapChainRequirements &swapChainRequirement, const VkPhysicalDeviceMemoryProperties &physicalDeviceMemoryProperties)
void CleanUp(VkDevice device)
VkSwapchainKHR Real() const
VkFormat GetSurfaceFormat() const
VkFormat GetDepthFormat() const
bool HasDepthSupport() const
const VkExtent2D &GetExtent() const
const VkScopedImage &GetImage(int frameIdx) const
const VkScopedImage &GetDepthImage() const
const Containers::Vector<VkScopedImage> &GetAllImages() const