moGL  travis-test-3
Modern OpenGL wrapper, thin C++14 header-only layer on top of the OpenGL 4.5+ core spec
 All Classes Namespaces Files Functions Variables Defines
Public Member Functions | Protected Attributes
mogl::Handle< T > Class Template Reference

#include <handle.hpp>

Collaboration diagram for mogl::Handle< T >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Handle (GLenum identifier=GL_NONE)
virtual ~Handle ()
 Handle (const Handle &other)
Handleoperator= (const Handle &other)
 Handle (Handle &&other) noexcept
getHandle () const
std::string getLabel () const
void setLabel (const std::string &name)
virtual bool isHandleValid () const =0
template<>
std::string getLabel () const
template<>
std::string getLabel () const
template<>
void setLabel (const std::string &name)
template<>
void setLabel (const std::string &name)

Protected Attributes

_handle

template<class T>
class mogl::Handle< T >


Constructor & Destructor Documentation

template<class T >
mogl::Handle< T >::Handle ( GLenum  identifier = GL_NONE) [inline]
template<class T>
virtual mogl::Handle< T >::~Handle ( ) [virtual]
template<class T>
mogl::Handle< T >::Handle ( const Handle< T > &  other)
template<class T >
mogl::Handle< T >::Handle ( Handle< T > &&  other) [inline]

Member Function Documentation

template<class T >
T mogl::Handle< T >::getHandle ( ) const [inline]
template<class T>
std::string mogl::Handle< T >::getLabel ( ) const
template<>
std::string mogl::Handle< GLuint >::getLabel ( ) const [inline]
template<>
std::string mogl::Handle< GLsync >::getLabel ( ) const [inline]
template<class T>
virtual bool mogl::Handle< T >::isHandleValid ( ) const [pure virtual]
template<class T>
Handle& mogl::Handle< T >::operator= ( const Handle< T > &  other)
template<class T>
void mogl::Handle< T >::setLabel ( const std::string &  name)
template<>
void mogl::Handle< GLuint >::setLabel ( const std::string &  name) [inline]
template<>
void mogl::Handle< GLsync >::setLabel ( const std::string &  name) [inline]

Member Data Documentation

template<class T>
T mogl::Handle< T >::_handle [protected]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Defines