|
Foundation
|
#include <Swapchain.hpp>
Public Member Functions | |
| VulkanSwapchain (const VulkanDevice &device, SwapchainDesc const &desc) | |
| Core::Span< RHITexture *const > | GetImages () const override |
| auto const & | GetVkSwapchain () const |
| RHIExtent2D | GetExtents () const override |
| uint32_t | GetNextImage (uint64_t timeout_ns, RHIDeviceObjectHandle< RHIDeviceSemaphore > semaphore, RHIDeviceObjectHandle< RHIDeviceFence > fence) override |
| Gets the next image in the swapchain. Raises RHISwapchainResizeException if the swapchain needs to be resized. | |
| void | DebugSetObjectName (const char *name) override |
Public Member Functions inherited from Foundation::RHI::RHISwapchain | |
| RHISwapchain (RHIDevice const &device, SwapchainDesc const &desc) | |
| float | GetAspectRatio () const |
Public Member Functions inherited from Foundation::RHI::RHIObject | |
| RHIObject ()=default | |
| RHIObject (RHIObject const &)=delete | |
| RHIObject & | operator= (const RHIObject &)=delete |
| RHIObject (RHIObject &&)=delete | |
| RHIObject & | operator= (RHIObject &&)=delete |
| virtual | ~RHIObject ()=default |
Private Member Functions | |
| void | Instantiate () |
| vk::SwapchainCreateInfoKHR | vkSwapchainCreateInfoFromSwapchainDesc (SwapchainDesc desc) |
Private Attributes | |
| const VulkanDevice & | mDevice |
| vk::raii::SwapchainKHR | mSwapchain { nullptr } |
| std::array< uint32_t, 2 > | mQueueFamilyIndices {} |
| UniquePtr< RHIObjectPool< VulkanTexture > > | mImages |
| Core::Vector< RHITexture * > | mImagesPtrs |
Additional Inherited Members | |
Public Attributes inherited from Foundation::RHI::RHISwapchain | |
| struct Foundation::RHI::RHISwapchain::SwapchainDesc | mDesc |
Protected Attributes inherited from Foundation::RHI::RHISwapchain | |
| const RHIDevice & | mDevice |
| VulkanSwapchain::VulkanSwapchain | ( | const VulkanDevice & | device, |
| SwapchainDesc const & | desc | ||
| ) |
Implements Foundation::RHI::RHISwapchain.
|
overridevirtual |
Implements Foundation::RHI::RHISwapchain.
|
overridevirtual |
Implements Foundation::RHI::RHISwapchain.
|
overridevirtual |
Gets the next image in the swapchain. Raises RHISwapchainResizeException if the swapchain needs to be resized.
Implements Foundation::RHI::RHISwapchain.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |