#include <Presenter.hpp>
◆ Presenter()
◆ ~Presenter()
| Foundation::RenderCore::Presenter::~Presenter |
( |
| ) |
|
|
default |
◆ AcquireNextImage()
| RHISwapchainResult Foundation::RenderCore::Presenter::AcquireNextImage |
( |
uint32_t & |
imageIndex | ) |
|
Acquires the next swapchain image.
- Returns
- Swapchain result; !RHISwapchainResultMayPresent means the owner should recreate before retrying.
◆ GetImageAcquireSemaphore()
◆ GetSwapchain()
Returns the currently used RHISwapchain object.
◆ Present()
Presents the most recently acquired image to the graphics queue.
- Returns
- Swapchain result; !RHISwapchainResultMayPresent means the owner should recreate.
- Note
- Advances the internal frame-in-flight sync slot even on failure.
◆ SetSwapchain()
@breif Updates the current swapchain to the new one, resetting sync primitives.
◆ mCurrentSwap
| uint32_t Foundation::RenderCore::Presenter::mCurrentSwap = 0 |
|
private |
◆ mCurrentSync
| uint32_t Foundation::RenderCore::Presenter::mCurrentSync = 0 |
|
private |
◆ mDevice
| RHIDevice* Foundation::RenderCore::Presenter::mDevice |
|
private |
◆ mFrameSwaps
| uint32_t Foundation::RenderCore::Presenter::mFrameSwaps = 0 |
|
private |
◆ mSwapchain
◆ mSyncs
The documentation for this class was generated from the following files: