OGLplus (0.52.0) a C++ wrapper for OpenGL

Wrapper for object binding operations. More...

#include </home/chochlik/devel/oglplus/include/oglplus/context/object_binding.hpp>

Inheritance diagram for oglplus::context::ObjectBinding:

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.
 

Detailed Description

Wrapper for object binding operations.

Member Function Documentation

template<typename Object >
static void oglplus::context::ObjectBinding::Bind ( typename Object::Target  target,
const Object &  object 
)
static

Binds the specified object to the specified target.

Equivalent to:

object.Bind(target);
template<typename Object >
static void oglplus::context::ObjectBinding::Bind ( typename Object::IndexedTarget  target,
GLuint  index,
const Object &  object 
)
static

Binds the specified object to the specified indexed target.

Equivalent to:

object.Bind(target, index);
template<typename Object >
static void oglplus::context::ObjectBinding::Bind ( const Object &  object)
static

Binds the specified object to the appropriate binding point.

Equivalent to:

object.Bind();
template<typename Object >
static void oglplus::context::ObjectBinding::Use ( const Object &  object)
static

Uses (makes current) the specified object.

Equivalent to:

object.Use();

The documentation for this class was generated from the following file:

Copyright © 2010-2014 Matúš Chochlík, University of Žilina, Žilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Mon Sep 22 2014 by Doxygen (version 1.8.6).