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,
96 #endif // INCLUDED_RENDERER_BACKEND_GL_FRAMEBUFFER GLuint GetHandle() const
Definition: Framebuffer.h:52
AttachmentLoadOp
Load operation is set for each attachment, what should be done with its content on BeginFramebufferPa...
Definition: IFramebuffer.h:36
uint32_t m_Width
Definition: Framebuffer.h:79
const CColor & GetClearColor() const override
Returns a clear color for all color attachments of the framebuffer.
Definition: Framebuffer.h:47
CDevice * m_Device
Definition: Framebuffer.h:76
AttachmentLoadOp m_ColorAttachmentLoadOp
Definition: Framebuffer.h:84
AttachmentStoreOp m_ColorAttachmentStoreOp
Definition: Framebuffer.h:85
AttachmentStoreOp
Store operation is set for each attachment, what should be done with its content on EndFramebufferPas...
Definition: IFramebuffer.h:51
Definition: Framebuffer.h:40
~CFramebuffer() override
Definition: Framebuffer.cpp:188
CColor m_ClearColor
Definition: Framebuffer.h:82
AttachmentLoadOp GetDepthStencilAttachmentLoadOp() const
Definition: Framebuffer.h:57
uint32_t GetWidth() const override
Definition: Framebuffer.h:49
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
AttachmentStoreOp m_DepthStencilAttachmentStoreOp
Definition: Framebuffer.h:87
uint32_t GetHeight() const override
Definition: Framebuffer.h:50
AttachmentLoadOp GetColorAttachmentLoadOp() const
Definition: Framebuffer.h:55
Represents a texture object.
Definition: TextureManager.h:256
GLuint m_Handle
Definition: Framebuffer.h:78
IDevice * GetDevice() override
Definition: Framebuffer.cpp:194
AttachmentStoreOp GetColorAttachmentStoreOp() const
Definition: Framebuffer.h:56
Definition: IFramebuffer.h:67
Backend
Definition: Backend.h:27
uint32_t m_Height
Definition: Framebuffer.h:79
static std::unique_ptr< CFramebuffer > Create(CDevice *device, const char *name, SColorAttachment *colorAttachment, SDepthStencilAttachment *depthStencilAttachment)
Definition: Framebuffer.cpp:38
unsigned int uint32_t
Definition: wposix_types.h:53
Definition: VideoMode.h:28
GLbitfield GetAttachmentMask() const
Definition: Framebuffer.h:53
Definition: IFramebuffer.h:59
IFramebuffer stores attachments which should be used by backend as rendering destinations.
Definition: IFramebuffer.h:84
GLbitfield m_AttachmentMask
Definition: Framebuffer.h:80
AttachmentStoreOp GetDepthStencilAttachmentStoreOp() const
Definition: Framebuffer.h:58
AttachmentLoadOp m_DepthStencilAttachmentLoadOp
Definition: Framebuffer.h:86