Class wrapping renderbuffer-related 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... | |
Class wrapping renderbuffer-related functionality.
|
static |
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 |
Binds this renderbuffer to the target
.
|
static |
Returns the size in bits of the renderbuffer's blue component.
GL_RENDERBUFFER_BLUE_SIZE
Referenced by oglplus::BoundTemplate< Base, BaseParam, RenderbufferOps >::BlueSize().
|
static |
Returns the size in bits of the renderbuffer's depth component.
GL_RENDERBUFFER_DEPTH_SIZE
Referenced by oglplus::BoundTemplate< Base, BaseParam, RenderbufferOps >::DepthSize().
|
static |
Returns the size in bits of the renderbuffer's green component.
GL_RENDERBUFFER_GREEN_SIZE
Referenced by oglplus::BoundTemplate< Base, BaseParam, RenderbufferOps >::GreenSize().
|
static |
Returns the height of the renderbuffer as it was specified by Storage*.
GL_RENDERBUFFER_HEIGHT
Referenced by oglplus::BoundTemplate< Base, BaseParam, RenderbufferOps >::Height().
|
static |
Returns the internal format of the renderbuffer.
GL_RENDERBUFFER_INTERNAL_FORMAT
Referenced by oglplus::BoundTemplate< Base, BaseParam, RenderbufferOps >::InternalFormat().
|
static |
Returns the size in bits of the renderbuffer's red component.
GL_RENDERBUFFER_RED_SIZE
Referenced by oglplus::BoundTemplate< Base, BaseParam, RenderbufferOps >::RedSize().
|
static |
Returns the number of samples of the renderbuffer.
GL_RENDERBUFFER_SAMPLES
Referenced by oglplus::BoundTemplate< Base, BaseParam, RenderbufferOps >::Samples().
|
static |
Returns the size in bits of the renderbuffer's stencil component.
GL_RENDERBUFFER_STENCIL_SIZE
Referenced by oglplus::BoundTemplate< Base, BaseParam, RenderbufferOps >::StencilSize().
|
static |
Set the renderbuffer storage parameters.
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
Referenced by oglplus::BoundTemplate< Base, BaseParam, RenderbufferOps >::Storage().
|
static |
Set the renderbuffer storage parameters.
|
static |
Set the renderbuffer multisample storage parameters.
References oglplus::EnumValueName(), and OGLPLUS_CHECK.
Referenced by oglplus::BoundTemplate< Base, BaseParam, RenderbufferOps >::StorageMultisample().
|
static |
|
static |
Returns the width of the renderbuffer as it was specified by Storage*.
GL_RENDERBUFFER_WIDTH
Referenced by oglplus::BoundTemplate< Base, BaseParam, RenderbufferOps >::Width().