gl.Extension string indexer
Simple OpenGL 4.3 wrapper for .NET platform
Status: Beta
Brought to you by:
petcz
Add gl.Extension string indexer to allow simple testing of predefined list of extensions. E.g.
~~~~C#:::
string[] neededExtensions = new string[] { "ARB_multitexture", "ARB_vertex_buffer_object" }
...
foreach(string ext in neededExtensions)
if(!gl.Extension[ext]) throw new Exception(ext + " is not supported");
~~~~
Added bool gl.Extension.isSupported(string)