OGLplus (0.45.0) a C++ wrapper for OpenGL

OGLplus object

OGLplus defines classes like Buffer, Program, Texture, Query and many others, wrapping around OpenGL "objects". Such classes have, besides the object-type-specific functions, several common constuctors and members as shown by the following pseudo code. (The Object class does not actually exist, the following declaration is just a sort of template).

class Object
{
public:
// Objects are default constructible
Object(void);
// Objects are not copy constructible
Object(const Object&) = delete;
// Objects are move constructible
Object(Object&&);
// If object has a Property::Type typedef, construct with type specification
Object(Object::Property::Type type);
// Construction with a textual description
Object(String description);
// Construct with type specification and textual description
Object(Object::Property::Type type, String description);
// Returns the textual description (if any) of the Object
friend const String Description(Object);
};

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