An OGLplus object encapsulating the OpenGL renderbuffer functionality. More...
#include </home/chochlik/devel/oglplus/include/oglplus/renderbuffer.hpp>


Public Types | |
| typedef RenderbufferTarget | Target |
| Renderbuffer bind targets. | |
Public Member Functions | |
| void | Bind (Target target=Target::Renderbuffer) const |
Binds this renderbuffer to the target. | |
Static Public Member Functions | |
| static void | Unbind (Target target=Target::Renderbuffer) |
Bind the name 0 to the target. | |
| static void | Storage (Target target, PixelDataInternalFormat internalformat, GLsizei width, GLsizei height) |
| Set the renderbuffer storage parameters. | |
| static void | StorageMultisample (Target target, GLsizei samples, PixelDataInternalFormat internalformat, GLsizei width, GLsizei height) |
| Set the renderbuffer multisample storage parameters. | |
| static GLsizei | Width (Target target) |
| Returns the width of the renderbuffer as it was specified by Storage*. | |
| static GLsizei | Height (Target target) |
| Returns the height of the renderbuffer as it was specified by Storage*. | |
| static GLsizei | RedSize (Target target) |
| Returns the size in bits of the renderbuffer's red component. | |
| static GLsizei | GreenSize (Target target) |
| Returns the size in bits of the renderbuffer's green component. | |
| static GLsizei | BlueSize (Target target) |
| Returns the size in bits of the renderbuffer's blue component. | |
| static GLsizei | AlphaSize (Target target) |
| Returns the size in bits of the renderbuffer's alpha component. | |
| static GLsizei | DepthSize (Target target) |
| Returns the size in bits of the renderbuffer's depth component. | |
| static GLsizei | StencilSize (Target target) |
| Returns the size in bits of the renderbuffer's stencil component. | |
| static GLsizei | Samples (Target target) |
| Returns the number of samples of the renderbuffer. | |
| static PixelDataInternalFormat | InternalFormat (Target target) |
| Returns the internal format of the renderbuffer. | |
An OGLplus object encapsulating the OpenGL renderbuffer functionality.
| static GLsizei oglplus::RenderbufferOps::AlphaSize | ( | Target | target | ) | [static, inherited] |
Returns the size in bits of the renderbuffer's alpha component.
GL_RENDERBUFFER_ALPHA_SIZE Referenced by oglplus::BoundTemplate< Base, BaseParam, RenderbufferOps >::AlphaSize().
| void oglplus::RenderbufferOps::Bind | ( | Target | target = Target::Renderbuffer | ) | const [inherited] |
Binds this renderbuffer to the target.
| static GLsizei oglplus::RenderbufferOps::BlueSize | ( | Target | target | ) | [static, inherited] |
Returns the size in bits of the renderbuffer's blue component.
GL_RENDERBUFFER_BLUE_SIZE Referenced by oglplus::BoundTemplate< Base, BaseParam, RenderbufferOps >::BlueSize().
| static GLsizei oglplus::RenderbufferOps::DepthSize | ( | Target | target | ) | [static, inherited] |
Returns the size in bits of the renderbuffer's depth component.
GL_RENDERBUFFER_DEPTH_SIZE Referenced by oglplus::BoundTemplate< Base, BaseParam, RenderbufferOps >::DepthSize().
| static GLsizei oglplus::RenderbufferOps::GreenSize | ( | Target | target | ) | [static, inherited] |
Returns the size in bits of the renderbuffer's green component.
GL_RENDERBUFFER_GREEN_SIZE Referenced by oglplus::BoundTemplate< Base, BaseParam, RenderbufferOps >::GreenSize().
| static GLsizei oglplus::RenderbufferOps::Height | ( | Target | target | ) | [static, inherited] |
Returns the height of the renderbuffer as it was specified by Storage*.
GL_RENDERBUFFER_HEIGHT Referenced by oglplus::BoundTemplate< Base, BaseParam, RenderbufferOps >::Height().
| static PixelDataInternalFormat oglplus::RenderbufferOps::InternalFormat | ( | Target | target | ) | [static, inherited] |
Returns the internal format of the renderbuffer.
GL_RENDERBUFFER_INTERNAL_FORMAT Referenced by oglplus::BoundTemplate< Base, BaseParam, RenderbufferOps >::InternalFormat().
| static GLsizei oglplus::RenderbufferOps::RedSize | ( | Target | target | ) | [static, inherited] |
Returns the size in bits of the renderbuffer's red component.
GL_RENDERBUFFER_RED_SIZE Referenced by oglplus::BoundTemplate< Base, BaseParam, RenderbufferOps >::RedSize().
| static GLsizei oglplus::RenderbufferOps::Samples | ( | Target | target | ) | [static, inherited] |
Returns the number of samples of the renderbuffer.
GL_RENDERBUFFER_SAMPLES Referenced by oglplus::BoundTemplate< Base, BaseParam, RenderbufferOps >::Samples().
| static GLsizei oglplus::RenderbufferOps::StencilSize | ( | Target | target | ) | [static, inherited] |
Returns the size in bits of the renderbuffer's stencil component.
GL_RENDERBUFFER_STENCIL_SIZE Referenced by oglplus::BoundTemplate< Base, BaseParam, RenderbufferOps >::StencilSize().
| static void oglplus::RenderbufferOps::Storage | ( | Target | target, |
| PixelDataInternalFormat | internalformat, | ||
| GLsizei | width, | ||
| GLsizei | height | ||
| ) | [static, inherited] |
Set the renderbuffer storage parameters.
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
Referenced by oglplus::BoundTemplate< Base, BaseParam, RenderbufferOps >::Storage().
| static void oglplus::RenderbufferOps::StorageMultisample | ( | Target | target, |
| GLsizei | samples, | ||
| PixelDataInternalFormat | internalformat, | ||
| GLsizei | width, | ||
| GLsizei | height | ||
| ) | [static, inherited] |
Set the renderbuffer multisample storage parameters.
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
Referenced by oglplus::BoundTemplate< Base, BaseParam, RenderbufferOps >::StorageMultisample().
| static void oglplus::RenderbufferOps::Unbind | ( | Target | target = Target::Renderbuffer | ) | [static, inherited] |
| static GLsizei oglplus::RenderbufferOps::Width | ( | Target | target | ) | [static, inherited] |
Returns the width of the renderbuffer as it was specified by Storage*.
GL_RENDERBUFFER_WIDTH Referenced by oglplus::BoundTemplate< Base, BaseParam, RenderbufferOps >::Width().