18#ifndef INCLUDED_RENDERER_BACKEND_ISWAPCHAIN
19#define INCLUDED_RENDERER_BACKEND_ISWAPCHAIN
Definition: IDeviceObject.h:33
IFramebuffer stores attachments which should be used by backend as rendering destinations.
Definition: IFramebuffer.h:87
Definition: ISwapChain.h:33
virtual void Present()=0
Presents the backbuffer to the swapchain queue to be flipped on a screen.
virtual IFramebuffer * GetCurrentBackbuffer(const AttachmentLoadOp colorAttachmentLoadOp, const AttachmentStoreOp colorAttachmentStoreOp, const AttachmentLoadOp depthStencilAttachmentLoadOp, const AttachmentStoreOp depthStencilAttachmentStoreOp)=0
Returns a framebuffer for the current backbuffer with the required attachment operations.
virtual bool AcquireNextBackbuffer()=0
Acquires a backbuffer for rendering a frame.
virtual bool IsValid() const =0
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