Wrapper for object binding operations. More...
#include </home/chochlik/devel/oglplus/include/oglplus/context/object_binding.hpp>
Static Public Member Functions | |
template<typename Object > | |
static void | Bind (typename Object::Target target, const Object &object) |
Binds the specified object to the specified target. More... | |
template<typename Object > | |
static void | Bind (typename Object::IndexedTarget target, GLuint index, const Object &object) |
Binds the specified object to the specified indexed target. More... | |
template<typename Object > | |
static void | Bind (const Object &object) |
Binds the specified object to the appropriate binding point. More... | |
template<typename Object > | |
static void | Use (const Object &object) |
Uses (makes current) the specified object. More... | |
template<typename ObjectTarget > | |
static Reference< ObjectOps < tag::CurrentBound, typename ObjectTargetTag< ObjectTarget > ::Type > > | Current (ObjectTarget target) |
Returns a managed reference to the object currently bound to target. | |
template<typename Object > | |
static Reference< ObjectOps < tag::CurrentBound, typename ObjectTargetTag< typename Object::Target >::Type > > | Bound (typename Object::Target target, const Object &object) |
Binds the object to the specified target, returns a managed reference. | |
Wrapper for object binding operations.
|
static |
Binds the specified object to the specified target.
Equivalent to:
|
static |
Binds the specified object to the specified indexed target.
Equivalent to:
|
static |
Binds the specified object to the appropriate binding point.
Equivalent to:
|
static |
Uses (makes current) the specified object.
Equivalent to: