Module dlangui.graphics.glsupport

This module contains OpenGL access layer.

To enable OpenGL support, build with version(USE_OPENGL);

Synopsis

import dlangui.graphics.glsupport;

Functions

Name Description
assertgl Convenient wrapper around glGetError()
assertNoError
checkError
gl3MissingSymFunc
glerrorToString
glSupport
initGLSupport initialize OpenGL suport helper (call when current OpenGL context is initialized)
primitiveTypeToGL

Classes

Name Description
DummyVertexBuffer
GLObject RAII OpenGL object template.
GLProgram
GLSupport OpenGL support helper
GLVertexBuffer
LineProgram
SolidFillProgram
TextureProgram

Structs

Name Description
Color

Enums

Name Description
GLObjectTypes

Global variables

Name Type Description
_glSupport GLSupport

Aliases

Name Type Description
checkgl func Convenient wrapper around glGetError()
FBO
Tex2D
VAO
VBO

Authors

Vadim Lopatin, coolreader.org@gmail.com

Copyright

Vadim Lopatin, 2014

License

Boost License 1.0