Foundation
Loading...
Searching...
No Matches
Presenter.hpp
Go to the documentation of this file.
1#pragma once
3#include <chrono>
4#include <vector>
5
6using namespace Foundation;
7using namespace RHI;
8
10{
54} // namespace Foundation::RenderCore
Allocator interface (noexcept)
Definition Allocator.hpp:29
Definition Device.hpp:56
Definition Device.hpp:246
Handle type for RHI Objects.
Definition Details.hpp:43
Definition Presenter.hpp:12
RHIDeviceHandle< RHISwapchain > GetSwapchain() const
Returns the currently used RHISwapchain object.
Definition Presenter.hpp:38
uint32_t mCurrentSwap
Definition Presenter.hpp:51
RHISwapchainResult AcquireNextImage(uint32_t &imageIndex)
Acquires the next swapchain image.
Definition Presenter.cpp:15
RHIDeviceHandle< RHIDeviceSemaphore > GetImageAcquireSemaphore() const
Binary semaphore to signal from RHISwapchain::GetNextImage for the next frame.
Definition Presenter.cpp:37
void SetSwapchain(RHIDeviceHandle< RHISwapchain > swapchain)
Definition Presenter.cpp:39
RHIDeviceHandle< RHISwapchain > mSwapchain
Definition Presenter.hpp:47
RHIDevice * mDevice
Definition Presenter.hpp:46
uint32_t mFrameSwaps
Definition Presenter.hpp:52
Vector< RHIDeviceScopedHandle< RHIDeviceSemaphore > > mSyncs
Definition Presenter.hpp:48
uint32_t mCurrentSync
Definition Presenter.hpp:50
std::vector< T, StlAllocator< T > > Vector
std::vector with explicit Foundation::Core::StlAllocator constructor
Definition Container.hpp:149
Present
Definition Common.hpp:198
RHISwapchainResult
Definition Swapchain.hpp:9
Core functionalities for rendering, including the Frame Graph implementation.
Definition Bindless.cpp:2
Definition Allocator.hpp:6