Difference between revisions of "Why Instance Design"

From JogampWiki
Jump to navigation Jump to search
(Created page with "<h1>Why does JOGL use Instances of GLContext / GL* instead of exposing a Static API?</h1> The scope of this wiki page is essentially to explain why JOGL uses a instance-desig...")
 
Line 1: Line 1:
<h1>Why does JOGL use Instances of GLContext / GL* instead of exposing a Static API?</h1>
 
 
 
The scope of this wiki page is essentially to explain why JOGL uses a instance-design instead of a static one, used by other libraries (such as Lwjgl).
 
The scope of this wiki page is essentially to explain why JOGL uses a instance-design instead of a static one, used by other libraries (such as Lwjgl).
  
 
The content has been taken from [http://forum.jogamp.org/Why-does-JOGL-use-Instances-of-GLContext-GL-instead-of-exposing-a-Static-API-td4034144.html this thread].
 
The content has been taken from [http://forum.jogamp.org/Why-does-JOGL-use-Instances-of-GLContext-GL-instead-of-exposing-a-Static-API-td4034144.html this thread].
 +
 +
<h1>Why does JOGL use Instances of GLContext / GL* instead of exposing a Static API?</h1>

Revision as of 12:51, 28 January 2016

The scope of this wiki page is essentially to explain why JOGL uses a instance-design instead of a static one, used by other libraries (such as Lwjgl).

The content has been taken from this thread.

Why does JOGL use Instances of GLContext / GL* instead of exposing a Static API?