OGLplus (0.52.0) a C++ wrapper for OpenGL

Wrappers for functions selecting the buffers for read/write operations. More...

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

Inheritance diagram for oglplus::context::BufferSelection:

Public Types

typedef OneOf< GLenum,
std::tuple
< oglplus::ColorBuffer,
oglplus::FramebufferColorAttachment > > 
ColorBuffer
 Color buffer specification type.
 

Static Public Member Functions

static void DrawBuffer (ColorBuffer buffer)
 Sets the destination color buffer for draw operations. More...
 
static void DrawBuffers (const EnumArray< ColorBuffer > &buffers)
 Sets the destination color buffers for draw operations. More...
 
static void ReadBuffer (ColorBuffer buffer)
 Sets the source color buffer for read operations. More...
 

Detailed Description

Wrappers for functions selecting the buffers for read/write operations.

Member Function Documentation

static void oglplus::context::BufferSelection::DrawBuffer ( ColorBuffer  buffer)
static

Sets the destination color buffer for draw operations.

Related OpenGL symbols:
glDrawBuffer
static void oglplus::context::BufferSelection::DrawBuffers ( const EnumArray< ColorBuffer > &  buffers)
static

Sets the destination color buffers for draw operations.

Related OpenGL symbols:
glDrawBuffers
static void oglplus::context::BufferSelection::ReadBuffer ( ColorBuffer  buffer)
static

Sets the source color buffer for read operations.

Related OpenGL symbols:
glReadBuffer

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).