|
Foundation
|
#include <Swapchain.hpp>
Classes | |
| struct | SwapchainDesc |
Public Member Functions | |
| virtual Core::Span< RHITexture *const > | GetImages () const =0 |
| RHISwapchain (RHIDevice const &device, SwapchainDesc const &desc) | |
| virtual uint32_t | GetNextImage (uint64_t timeout_ns, RHIDeviceObjectHandle< RHIDeviceSemaphore > semaphore, RHIDeviceObjectHandle< RHIDeviceFence > fence)=0 |
| Gets the next image in the swapchain. Raises RHISwapchainResizeException if the swapchain needs to be resized. | |
| virtual RHIExtent2D | GetExtents () const =0 |
| float | GetAspectRatio () const |
| virtual void | DebugSetObjectName (const char *name)=0 |
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 |
Public Attributes | |
| struct Foundation::RHI::RHISwapchain::SwapchainDesc | mDesc |
Protected Attributes | |
| const RHIDevice & | mDevice |
|
inline |
Implemented in Foundation::RHI::VulkanSwapchain.
|
inline |
|
pure virtual |
Implemented in Foundation::RHI::VulkanSwapchain.
|
pure virtual |
Implemented in Foundation::RHI::VulkanSwapchain.
|
pure virtual |
Gets the next image in the swapchain. Raises RHISwapchainResizeException if the swapchain needs to be resized.
Implemented in Foundation::RHI::VulkanSwapchain.
| struct Foundation::RHI::RHISwapchain::SwapchainDesc Foundation::RHI::RHISwapchain::mDesc |