VenomEngine
Cross-Platform Modern Graphics Engine
Loading...
Searching...
No Matches
venom::vulkan::SwapChain Class Reference

Public Member Functions

 SwapChain (const SwapChain &)=delete
 
SwapChainoperator= (const SwapChain &)=delete
 
 SwapChain (SwapChain &&)
 
SwapChainoperator= (SwapChain &&)
 
void CleanSwapChain ()
 
vc::Error InitSwapChainSettings (const Surface *surface)
 
int GetSamples () const
 
void SetSamples (const int samples)
 
const vc::Vector< ImageView > & GetSwapChainImageViews () const
 
vc::Error InitSwapChain ()
 Inits Swap chain and swap chain image views.
 

Public Attributes

const Surfacesurface
 
VkSurfaceFormatKHR activeSurfaceFormat
 
VkPresentModeKHR activePresentMode
 
VkExtent2D extent
 
VkViewport viewport
 
VkRect2D scissor
 
VkSwapchainKHR swapChain
 
vc::Vector< VkImage > swapChainImageHandles
 

Friends

class RenderPass
 

Member Function Documentation

◆ InitSwapChain()

vc::Error venom::vulkan::SwapChain::InitSwapChain ( )

Inits Swap chain and swap chain image views.

Returns
Error

The documentation for this class was generated from the following files: