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