Class wrapping renderbuffer functions with explicit target selector. 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 specified target . More... | |
Static Public Member Functions | |
static void | Storage (Target target, PixelDataInternalFormat internalformat, GLsizei width, GLsizei height) |
Set the renderbuffer storage parameters for the rbo bound to target. More... | |
static void | Storage (Target target, const images::ImageSpec &image_spec) |
Set the renderbuffer storage parameters for the rbo bound to target. 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... | |
static void | Bind (Target target, RenderbufferName renderbuffer) |
Binds the specified renderbuffer to the specified target . More... | |
static RenderbufferName | Binding (Target target) |
Returns the current Renderbuffer bound to specified target . More... | |
Class wrapping renderbuffer functions with explicit target selector.
|
static |
Returns the size in bits of the renderbuffer's alpha component.
GL_RENDERBUFFER_ALPHA_SIZE
|
staticinherited |
Binds the specified renderbuffer
to the specified target
.
References oglplus::GetGLName().
|
inherited |
Binds this renderbuffer to the specified target
.
|
staticinherited |
Returns the current Renderbuffer bound to specified target
.
|
static |
Returns the size in bits of the renderbuffer's blue component.
GL_RENDERBUFFER_BLUE_SIZE
|
static |
Returns the size in bits of the renderbuffer's depth component.
GL_RENDERBUFFER_DEPTH_SIZE
|
static |
Returns the size in bits of the renderbuffer's green component.
GL_RENDERBUFFER_GREEN_SIZE
|
static |
Returns the height of the renderbuffer as it was specified by Storage*.
GL_RENDERBUFFER_HEIGHT
|
static |
Returns the internal format of the renderbuffer.
GL_RENDERBUFFER_INTERNAL_FORMAT
|
static |
Returns the size in bits of the renderbuffer's red component.
GL_RENDERBUFFER_RED_SIZE
|
static |
Returns the number of samples of the renderbuffer.
GL_RENDERBUFFER_SAMPLES
|
static |
|
static |
Set the renderbuffer storage parameters for the rbo bound to target.
|
static |
Set the renderbuffer storage parameters for the rbo bound to target.
|
static |
Set the renderbuffer multisample storage parameters.
|
static |
Returns the width of the renderbuffer as it was specified by Storage*.
GL_RENDERBUFFER_WIDTH