#include <framebuffer.h>
Public Types | |
typedef Object | BaseType |
typedef Framebuffer | ThisType |
Public Member Functions | |
const FramebufferArguments & | arguments (void) const |
bool | readColorPixels (GLenum target, GLint unit, GLint index, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *data) |
bool | readDepthPixels (GLenum target, GLint unit, GLint x, GLint y, GLsizei width, GLsizei height, GLenum type, GLvoid *data) |
bool | readStencilPixels (GLenum target, GLint unit, GLint x, GLint y, GLsizei width, GLsizei height, GLenum type, GLvoid *data) |
bool | removeAllColorTargets (GLenum target, GLint unit) |
bool | removeAllTargets (GLenum target, GLint unit) |
bool | removeColorTarget (GLenum target, GLint unit, GLint index) |
bool | removeDepthTarget (GLenum target, GLint unit) |
bool | removeStencilTarget (GLenum target, GLint unit) |
bool | setColorTarget (GLenum target, GLint unit, GLint index, const RenderTarget &renderTarget) |
bool | setDepthTarget (GLenum target, GLint unit, const RenderTarget &renderTarget) |
bool | setStencilTarget (GLenum target, GLint unit, const RenderTarget &renderTarget) |
bool | setTargetInputs (GLenum target, GLint unit, const RenderTargetBinding &targetInputs) |
virtual Type | type (void) const |
virtual | ~Framebuffer (void) |
Protected Member Functions | |
bool | create (const FramebufferArguments &args) |
virtual void | doDestroy (void) |
virtual bool | doIsValid (void) const |
Framebuffer (Context *ctx) | |
Private Member Functions | |
bool | attachTarget (GLenum target, GLenum attachment, const RenderTarget &renderTarget) |
void | configure (GLenum target, const FramebufferArguments &args) |
void | configureTargetInputs (const RenderTargetBinding &targetInputs) |
Private Attributes | |
FramebufferArguments | m_config |
Friends | |
class | Context |
Definition at line 178 of file framebuffer.h.
typedef Object glw::Framebuffer::BaseType |
Reimplemented from glw::Object.
Definition at line 184 of file framebuffer.h.
Reimplemented from glw::Object.
Definition at line 185 of file framebuffer.h.
virtual glw::Framebuffer::~Framebuffer | ( | void | ) | [inline, virtual] |
Definition at line 187 of file framebuffer.h.
glw::Framebuffer::Framebuffer | ( | Context * | ctx | ) | [inline, protected] |
Definition at line 335 of file framebuffer.h.
const FramebufferArguments& glw::Framebuffer::arguments | ( | void | ) | const [inline] |
Definition at line 197 of file framebuffer.h.
bool glw::Framebuffer::attachTarget | ( | GLenum | target, |
GLenum | attachment, | ||
const RenderTarget & | renderTarget | ||
) | [inline, private] |
Definition at line 397 of file framebuffer.h.
void glw::Framebuffer::configure | ( | GLenum | target, |
const FramebufferArguments & | args | ||
) | [inline, private] |
Definition at line 377 of file framebuffer.h.
void glw::Framebuffer::configureTargetInputs | ( | const RenderTargetBinding & | targetInputs | ) | [inline, private] |
Definition at line 418 of file framebuffer.h.
bool glw::Framebuffer::create | ( | const FramebufferArguments & | args | ) | [inline, protected] |
Definition at line 341 of file framebuffer.h.
virtual void glw::Framebuffer::doDestroy | ( | void | ) | [inline, protected, virtual] |
Implements glw::Object.
Definition at line 362 of file framebuffer.h.
virtual bool glw::Framebuffer::doIsValid | ( | void | ) | const [inline, protected, virtual] |
Implements glw::Object.
Definition at line 368 of file framebuffer.h.
bool glw::Framebuffer::readColorPixels | ( | GLenum | target, |
GLint | unit, | ||
GLint | index, | ||
GLint | x, | ||
GLint | y, | ||
GLsizei | width, | ||
GLsizei | height, | ||
GLenum | format, | ||
GLenum | type, | ||
GLvoid * | data | ||
) | [inline] |
Definition at line 290 of file framebuffer.h.
bool glw::Framebuffer::readDepthPixels | ( | GLenum | target, |
GLint | unit, | ||
GLint | x, | ||
GLint | y, | ||
GLsizei | width, | ||
GLsizei | height, | ||
GLenum | type, | ||
GLvoid * | data | ||
) | [inline] |
Definition at line 305 of file framebuffer.h.
bool glw::Framebuffer::readStencilPixels | ( | GLenum | target, |
GLint | unit, | ||
GLint | x, | ||
GLint | y, | ||
GLsizei | width, | ||
GLsizei | height, | ||
GLenum | type, | ||
GLvoid * | data | ||
) | [inline] |
Definition at line 319 of file framebuffer.h.
bool glw::Framebuffer::removeAllColorTargets | ( | GLenum | target, |
GLint | unit | ||
) | [inline] |
Definition at line 222 of file framebuffer.h.
bool glw::Framebuffer::removeAllTargets | ( | GLenum | target, |
GLint | unit | ||
) | [inline] |
Definition at line 273 of file framebuffer.h.
bool glw::Framebuffer::removeColorTarget | ( | GLenum | target, |
GLint | unit, | ||
GLint | index | ||
) | [inline] |
Definition at line 213 of file framebuffer.h.
bool glw::Framebuffer::removeDepthTarget | ( | GLenum | target, |
GLint | unit | ||
) | [inline] |
Definition at line 244 of file framebuffer.h.
bool glw::Framebuffer::removeStencilTarget | ( | GLenum | target, |
GLint | unit | ||
) | [inline] |
Definition at line 264 of file framebuffer.h.
bool glw::Framebuffer::setColorTarget | ( | GLenum | target, |
GLint | unit, | ||
GLint | index, | ||
const RenderTarget & | renderTarget | ||
) | [inline] |
Definition at line 202 of file framebuffer.h.
bool glw::Framebuffer::setDepthTarget | ( | GLenum | target, |
GLint | unit, | ||
const RenderTarget & | renderTarget | ||
) | [inline] |
Definition at line 233 of file framebuffer.h.
bool glw::Framebuffer::setStencilTarget | ( | GLenum | target, |
GLint | unit, | ||
const RenderTarget & | renderTarget | ||
) | [inline] |
Definition at line 253 of file framebuffer.h.
bool glw::Framebuffer::setTargetInputs | ( | GLenum | target, |
GLint | unit, | ||
const RenderTargetBinding & | targetInputs | ||
) | [inline] |
Definition at line 281 of file framebuffer.h.
virtual Type glw::Framebuffer::type | ( | void | ) | const [inline, virtual] |
Implements glw::Object.
Definition at line 192 of file framebuffer.h.
friend class Context [friend] |
Reimplemented from glw::Object.
Definition at line 180 of file framebuffer.h.
Definition at line 375 of file framebuffer.h.