Protected Member Functions | |
| void | activateInternal () override |
Protected Member Functions inherited from OpenGL::Framebuffer | |
| bool | isActive () const |
| void | applyViewport () |
| void | applyProjectionMatrix () |
| virtual void | deactivateInternal () |
Additional Inherited Members | |
Public Types inherited from OpenGL::Framebuffer | |
| enum | BlendMode { kBlendModeDisabled, kBlendModeOpaque, kBlendModeTraditionalTransparency, kBlendModePremultipliedTransparency, kBlendModeAdditive, kBlendModeMaskAlphaAndInvertByColor } |
| enum | CopyMask { kCopyMaskClearColor = (1 << 0), kCopyMaskBlendState = (1 << 1), kCopyMaskScissorState = (1 << 2), kCopyMaskScissorBox = (1 << 4), kCopyMaskAll } |
Public Member Functions inherited from OpenGL::Backbuffer | |
| bool | setSize (uint width, uint height) override |
Public Member Functions inherited from OpenGL::Framebuffer | |
| void | setClearColor (GLfloat r, GLfloat g, GLfloat b, GLfloat a) |
| void | enableBlend (BlendMode mode) |
| void | enableScissorTest (bool enable) |
| void | setScissorBox (GLint x, GLint y, GLsizei w, GLsizei h) |
| const Math::Matrix4 & | getProjectionMatrix () const |
| void | copyRenderStateFrom (const Framebuffer &other, uint copyMask) |
| void | activate (Pipeline *pipeline) |
| void | deactivate () |
Protected Attributes inherited from OpenGL::Framebuffer | |
| GLint | _viewport [4] |
| Math::Matrix4 | _projectionMatrix |
|
overrideprotectedvirtual |
Activate framebuffer.
This is supposed to set all state associated with the framebuffer.
Reimplemented from OpenGL::Backbuffer.