18#ifndef INCLUDED_RENDERER_BACKEND_GL_FRAMEBUFFER
19#define INCLUDED_RENDERER_BACKEND_GL_FRAMEBUFFER
63 static std::unique_ptr<CFramebuffer>
Create(
68 const int surfaceDrawableWidth,
const int surfaceDrawableHeight,
Represents a texture object.
Definition: TextureManager.h:262
Definition: Framebuffer.h:41
AttachmentLoadOp GetColorAttachmentLoadOp() const
Definition: Framebuffer.h:55
AttachmentLoadOp m_ColorAttachmentLoadOp
Definition: Framebuffer.h:84
CColor m_ClearColor
Definition: Framebuffer.h:82
uint32_t m_Width
Definition: Framebuffer.h:79
AttachmentStoreOp GetDepthStencilAttachmentStoreOp() const
Definition: Framebuffer.h:58
AttachmentLoadOp GetDepthStencilAttachmentLoadOp() const
Definition: Framebuffer.h:57
~CFramebuffer() override
Definition: Framebuffer.cpp:188
GLbitfield GetAttachmentMask() const
Definition: Framebuffer.h:53
static std::unique_ptr< CFramebuffer > CreateBackbuffer(CDevice *device, const int surfaceDrawableWidth, const int surfaceDrawableHeight, const AttachmentLoadOp colorAttachmentLoadOp, const AttachmentStoreOp colorAttachmentStoreOp, const AttachmentLoadOp depthStencilAttachmentLoadOp, const AttachmentStoreOp depthStencilAttachmentStoreOp)
Definition: Framebuffer.cpp:164
GLuint GetHandle() const
Definition: Framebuffer.h:52
AttachmentStoreOp m_DepthStencilAttachmentStoreOp
Definition: Framebuffer.h:87
const CColor & GetClearColor() const override
Returns a clear color for all color attachments of the framebuffer.
Definition: Framebuffer.h:47
IDevice * GetDevice() override
Definition: Framebuffer.cpp:194
uint32_t GetHeight() const override
Definition: Framebuffer.h:50
AttachmentLoadOp m_DepthStencilAttachmentLoadOp
Definition: Framebuffer.h:86
static std::unique_ptr< CFramebuffer > Create(CDevice *device, const char *name, SColorAttachment *colorAttachment, SDepthStencilAttachment *depthStencilAttachment)
Definition: Framebuffer.cpp:38
AttachmentStoreOp m_ColorAttachmentStoreOp
Definition: Framebuffer.h:85
uint32_t GetWidth() const override
Definition: Framebuffer.h:49
GLuint m_Handle
Definition: Framebuffer.h:78
AttachmentStoreOp GetColorAttachmentStoreOp() const
Definition: Framebuffer.h:56
uint32_t m_Height
Definition: Framebuffer.h:79
CDevice * m_Device
Definition: Framebuffer.h:76
GLbitfield m_AttachmentMask
Definition: Framebuffer.h:80
IFramebuffer stores attachments which should be used by backend as rendering destinations.
Definition: IFramebuffer.h:85
AttachmentStoreOp
Store operation is set for each attachment, what should be done with its content on EndFramebufferPas...
Definition: IFramebuffer.h:52
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:37
Definition: VideoMode.h:29
Definition: IFramebuffer.h:60
Definition: IFramebuffer.h:68
unsigned int uint32_t
Definition: wposix_types.h:53