Why Instance Design: Difference between revisions

From JogampWiki
Jump to navigation Jump to search
No edit summary
No edit summary
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>Why does JOGL use Instances of GLContext / GL* instead of exposing a Static API?</h1>
<h1>Then why does JOGL use Instances of GLContext / GL* instead of exposing a Static API?</h1>

Revision as of 11: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.

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