NGL
6.5
The NCCA Graphics Library
|
a class to initialise all of the ngl elements includeing GLEW if needed as well vbo prims this class is a singletone so can only be created once More...
#include <NGLInit.h>
Protected Member Functions | |
NGLInit () | |
dtor More... | |
~NGLInit () | |
dtor More... | |
Protected Member Functions inherited from ngl::Singleton< NGLInit > | |
Singleton () | |
Constructor. More... | |
virtual | ~Singleton () |
Destructor. More... | |
Friends | |
class | Singleton< NGLInit > |
Additional Inherited Members | |
Public Member Functions inherited from ngl::Singleton< NGLInit > | |
Singleton (const Singleton &)=delete | |
Singleton & | operator= (const Singleton &)=delete |
Static Public Member Functions inherited from ngl::Singleton< NGLInit > | |
static NGLInit * | instance () |
Get the instance. More... | |
Static Protected Member Functions inherited from ngl::Singleton< NGLInit > | |
static void | killSingleton () |
Static Protected Attributes inherited from ngl::Singleton< NGLInit > | |
static NGLInit * | s_instance |
unique instance of the singleton More... | |
a class to initialise all of the ngl elements includeing GLEW if needed as well vbo prims this class is a singletone so can only be created once
|
protected |
dtor
Definition at line 39 of file NGLInit.cpp.
References ngl::SimpleVAO::create(), ngl::MultiBufferVAO::create(), ngl::SimpleIndexVAO::create(), GL_MAJOR_VERSION, GL_MINOR_VERSION, GLEW_OK, GLEW_VERSION, glewExperimental, glewGetErrorString(), glewGetString(), glewInit(), glewIsSupported(), glGetIntegerv(), and ngl::VAOFactory::registerVAOCreator().
|
protected |
dtor
Definition at line 75 of file NGLInit.cpp.