A wraper that binds objects to a specified target. More...
#include </home/chochlik/devel/oglplus/include/oglplus/bound.hpp>
A wraper that binds objects to a specified target.
Bound objects make the usage of objects that can be bound to a OpenGL binding point or "target" easier. This includes objects like Buffer, Texture, Renderbuffer or Framebuffer which have a target to which individual instances can be bound and operated on through the binding point. Generally Bound<Object>
classes re-implement those functions of Object
which have a target
parameter of the Object::Target
type. These re-implemented functions have all the other parameters of the original member functions, but lack the target
parameter and supply it to the original function call automatically.