opengl 1.0.1

High Level wrapper + Dynamic & Static OpenGL bindings with documentation generated using ogl_gen

To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

This package provides sub packages which can be used individually:

opengl:gl2 - Legacy OpenGL functions (shared library)

opengl:gl3 - OpenGL 3.x functions (shared library)

opengl:gl4 - OpenGL 4.5 functions (shared library)

opengl:gl2-static - Legacy OpenGL functions (static wrapper)

opengl:gl3-static - OpenGL 3.x functions (static wrapper)

opengl:gl4-static - OpenGL 4.5 functions (static wrapper)

opengl:d - High level OpenGL wrapper


Dynamic & Static OpenGL bindings with documentation generated from the spec using ogl_gen.

If you use the dynamic bindings (not ending with -static) you need to additionally import opengl.loader and call loadGL!(opengl.gl4); (replace gl4 with the version you use) after creating a GL context. It will work on linux without GL context but not on windows.

import opengl.gl4;

// if dynamic:
import opengl.loader;

void main()
	// ... create context

	// if dynamic:

	// OpenGL available

  • webfreak
  • rikki
Sub packages:
opengl:gl2, opengl:gl3, opengl:gl4, opengl:gl2-static, opengl:gl3-static, opengl:gl4-static, opengl:d
1.0.1 2020-Mar-13
1.0.0 2017-May-31
~master 2020-Mar-13
Show all 3 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 4 downloads this month

  • 221 downloads total

Short URL: