A specialization of BoundObjOps allows to operate on the currently bound renderbuffer without the need to explicitly specify the renderbuffer target in every function call.
#include
<oglplus/bound/renderbuffer.hpp>
template <> class BoundObjOps<tag::Renderbuffer> { private: typedef typename ObjectOps<tag::ExplicitSel, tag::Renderbuffer> ExplicitOps; public: typedef typename ExplicitOps::Target Target; Target target; BoundObjOps(void); BoundObjOps(Target init_tgt); GLint GetIntParam( GLenum query ) const; const BoundObjOps& Storage( PixelDataInternalFormat internalformat, SizeType width, SizeType height ) const; const BoundObjOps& Storage( const images::ImageSpec & image_spec ) const; const BoundObjOps& StorageMultisample( SizeType samples, PixelDataInternalFormat internalformat, SizeType width, SizeType height ) const; SizeType Width(void) const; SizeType Height(void) const; SizeType RedSize(void) const; SizeType GreenSize(void) const; SizeType BlueSize(void) const; SizeType AlphaSize(void) const; SizeType DepthSize(void) const; SizeType StencilSize(void) const; SizeType Samples(void) const; PixelDataInternalFormat InternalFormat(void) const; };