|
moGL
travis-test-3
Modern OpenGL wrapper, thin C++14 header-only layer on top of the OpenGL 4.5+ core spec
|
#include <handle.hpp>

Public Member Functions | |
| Handle (GLenum identifier=GL_NONE) | |
| virtual | ~Handle () |
| Handle (const Handle &other) | |
| Handle & | operator= (const Handle &other) |
| Handle (Handle &&other) noexcept | |
| T | 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 | |
| T | _handle |
| mogl::Handle< T >::Handle | ( | GLenum | identifier = GL_NONE | ) | [inline] |
| virtual mogl::Handle< T >::~Handle | ( | ) | [virtual] |
| mogl::Handle< T >::Handle | ( | const Handle< T > & | other | ) |
| mogl::Handle< T >::Handle | ( | Handle< T > && | other | ) | [inline] |
| T mogl::Handle< T >::getHandle | ( | ) | const [inline] |
| std::string mogl::Handle< T >::getLabel | ( | ) | const |
| std::string mogl::Handle< GLuint >::getLabel | ( | ) | const [inline] |
| std::string mogl::Handle< GLsync >::getLabel | ( | ) | const [inline] |
| virtual bool mogl::Handle< T >::isHandleValid | ( | ) | const [pure virtual] |
| Handle& mogl::Handle< T >::operator= | ( | const Handle< T > & | other | ) |
| void mogl::Handle< T >::setLabel | ( | const std::string & | name | ) |
| void mogl::Handle< GLuint >::setLabel | ( | const std::string & | name | ) | [inline] |
| void mogl::Handle< GLsync >::setLabel | ( | const std::string & | name | ) | [inline] |
T mogl::Handle< T >::_handle [protected] |
1.7.6.1