18#ifndef INCLUDED_RENDERER_BACKEND_DUMMY_SWAPCHAIN
19#define INCLUDED_RENDERER_BACKEND_DUMMY_SWAPCHAIN
44 bool IsValid()
const override {
return true; }
Definition: SwapChain.h:38
IDevice * GetDevice() override
Definition: SwapChain.cpp:48
bool IsValid() const override
Definition: SwapChain.h:44
static std::unique_ptr< ISwapChain > Create(CDevice *device)
Definition: SwapChain.cpp:35
CDevice * m_Device
Definition: SwapChain.h:63
bool AcquireNextBackbuffer() override
Acquires a backbuffer for rendering a frame.
Definition: SwapChain.cpp:53
void Present() override
Presents the backbuffer to the swapchain queue to be flipped on a screen.
Definition: SwapChain.cpp:66
IFramebuffer * GetCurrentBackbuffer(const AttachmentLoadOp colorAttachmentLoadOp, const AttachmentStoreOp colorAttachmentStoreOp, const AttachmentLoadOp depthStencilAttachmentLoadOp, const AttachmentStoreOp depthStencilAttachmentStoreOp) override
Returns a framebuffer for the current backbuffer with the required attachment operations.
Definition: SwapChain.cpp:59
std::unique_ptr< IFramebuffer > m_Backbuffer
Definition: SwapChain.h:65
IFramebuffer stores attachments which should be used by backend as rendering destinations.
Definition: IFramebuffer.h:87
Definition: ISwapChain.h:33
AttachmentStoreOp
Store operation is set for each attachment, what should be done with its content on EndFramebufferPas...
Definition: IFramebuffer.h:54
Backend
Definition: Backend.h:28
AttachmentLoadOp
Load operation is set for each attachment, what should be done with its content on BeginFramebufferPa...
Definition: IFramebuffer.h:39
Definition: Canvas2D.h:30