OGLplus (0.52.0) a C++ wrapper for OpenGL

Utility classes and functions

Classes

class  oglplus::LimitedCount< Query >
 Base class for limited implementation-dependent numeric values. More...
 
class  oglplus::BoundObjOps< tag::Buffer >
 Specialization of the BoundObjOps for Buffer >. More...
 
class  oglplus::BoundObjOps< tag::Framebuffer >
 Specialization of the BoundObjOps for Framebuffer >. More...
 
class  oglplus::BoundObjOps< tag::Renderbuffer >
 Specialization of the BoundObjOps for Renderbuffer >. More...
 
class  oglplus::BoundObjOps< tag::Texture >
 Specialization of the BoundObjOps for Texture >. More...
 
class  oglplus::Application
 A monostate class wrapping application and startup options-related things. More...
 
class  oglplus::ListOf< T >
 Helper class template that can be used for static container initialization. More...
 

Functions

template<typename T >
aux::ListInitializer< T, 0 > oglplus::List (T value)
 Helper function template that can be used for static container initialization. More...
 

Detailed Description

Function Documentation

template<typename T >
aux::ListInitializer<T, 0> oglplus::List ( value)

Helper function template that can be used for static container initialization.

Usage:

// creates a standard RandomAccessContainer of const char*
// containing the values "A", "B", "C", "D", "E"
auto list = List("A")("B")("C")("D")("E").Get();
for(auto i=list.begin(), e=list.end(); i!=e; ++i)
{
std::cout << *i << std::endl;
}
std::vector<int> v = List(1)(2)(3)(4)(5)(6).As<std::vector<int>>();
See Also
ListOf
Examples:
oglplus/041_blob_mt.cpp, standalone/003_dsa_texture.cpp, and standalone/020_oglplus_oalplus.cpp.

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