SpiecsEngine
 
Loading...
Searching...
No Matches
Spices::VulkanSwapChain Class Reference

VulkanSwapChain Class. This class defines the VulkanSwapChain behaves. This class is just a wrapper of VkSwapchainKHR. More...

#include <VulkanSwapChain.h>

Inheritance diagram for Spices::VulkanSwapChain:
Spices::VulkanObject

Public Member Functions

 VulkanSwapChain (VulkanState &vulkanState, std::shared_ptr< VulkanDevice > vulkanDevice)
 Constructor Function. Create vkInstance and vkSurface.
 
virtual ~VulkanSwapChain () override
 Destructor Function.
 
void Create () const
 Create this.
 
void Destroy () const
 Destroy this.
 

Static Public Member Functions

static VkFormat FindDepthFormat (const VkPhysicalDevice &physicalDevice)
 Check whether Depth Image's Format is supported by physical device.
 
static VkFormat findSupportedFormat (const VkPhysicalDevice &physicalDevice, const std::vector< VkFormat > &candidates, VkImageTiling tiling, VkFormatFeatureFlags features)
 Check whether specific formats is supported by physical device.
 

Protected Attributes

VulkanStatem_VulkanState
 The global VulkanState Referenced from VulkanRenderBackend.
 

Private Member Functions

void CreateSyncObjects () const
 Create Sync Objects.
 
void DestroySyncObjects () const
 Destroy Sync Objects.
 

Private Attributes

std::shared_ptr< VulkanDevicem_VulkanDevice
 The shared pointer of VulkanDevice.
 

Detailed Description

VulkanSwapChain Class. This class defines the VulkanSwapChain behaves. This class is just a wrapper of VkSwapchainKHR.

Definition at line 20 of file VulkanSwapChain.h.


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