OGLplus (0.45.0) a C++ wrapper for OpenGL

oglplus::NoBuffer Class Reference

Class that can be used for unbinding of currently bound buffers. More...

#include </home/chochlik/devel/oglplus/include/oglplus/buffer.hpp>

Public Types

typedef BufferTarget Target
 Buffer bind targets.
 
typedef BufferIndexedTarget IndexedTarget
 Buffer indexed bind targets.
 

Static Public Member Functions

static void Bind (Target target)
 Unbinds the current buffer from the specified target. More...
 
static void Bind (IndexedTarget target, GLuint index)
 Unbinds the current buffer from the specified indexed target. More...
 
static void BindBase (IndexedTarget target, GLuint index)
 Unbinds the current buffer from the specified indexed target. More...
 

Detailed Description

Class that can be used for unbinding of currently bound buffers.

Member Function Documentation

static void oglplus::NoBuffer::Bind ( Target  target)
static

Unbinds the current buffer from the specified target.

This function binds the name 0 to the specified target.

Related OpenGL symbols:
glBindBuffer
Exceptions
Error

References oglplus::EnumValueName(), and OGLPLUS_VERIFY.

static void oglplus::NoBuffer::Bind ( IndexedTarget  target,
GLuint  index 
)
static

Unbinds the current buffer from the specified indexed target.

Related OpenGL symbols:
glBindBufferBase
Exceptions
Error

References BindBase().

static void oglplus::NoBuffer::BindBase ( IndexedTarget  target,
GLuint  index 
)
static

Unbinds the current buffer from the specified indexed target.

Related OpenGL symbols:
glBindBufferBase
Exceptions
Error

References oglplus::EnumValueName(), and OGLPLUS_VERIFY.

Referenced by Bind().


The documentation for this class was generated from the following file:
  • /home/chochlik/devel/oglplus/include/oglplus/buffer.hpp

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