Class VkScopedSwapChain¶
- Defined in File VkScopedSwapChain.h
Class Documentation¶
-
class
VkScopedSwapChain
¶ Public Functions
-
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¶
-
void