Difference between revisions of "Why Instance Design"

From JogampWiki
Jump to navigation Jump to search
Line 3: Line 3:
 
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>Then why does JOGL use Instances of GLContext / GL* instead of exposing a Static API?</h1>
+
<h2>Then why does JOGL use Instances of GLContext / GL* instead of exposing a Static API?</h2>

Revision as of 12:52, 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.

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