GLBackend

The OpenGL Backend implementation for mango_engine.

Loads the following libraries: OpenGL GLFW 3 FreeImage On Windows libraries will be loaded from the "lib" directory (should be placed in current directory), with the exception of OpenGL (see below).

loadLibraries() accepts the following keys, values: "gl_useProvided" = ONLY ON WINDOWS: Attempts to load opengl32.dll from the DLL library folder "lib" (by default it is loaded from the system). Set to "true" if you want to load the OpenGL DLL from here. Useful for using a software renderer such as LLVMpipe.

Constructors

this
this(Logger logger)
Undocumented in source.

Members

Functions

derelictShouldThrow
ShouldThrow derelictShouldThrow(string symbolName)
Undocumented in source. Be warned that the author may not have intended to support it.
doDestroy
void doDestroy()
Undocumented in source. Be warned that the author may not have intended to support it.
doInit
void doInit()
Undocumented in source. Be warned that the author may not have intended to support it.
loadLibraries
void loadLibraries(string[string] args)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

loadCoreMethods
void loadCoreMethods()

Loads the core methods of OpenGL (1.1+)

Inherited Members

From Backend

_logger
Logger _logger;
Undocumented in source.
logger
Logger logger [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
loadLibraries
void loadLibraries(string[string] args)

Load system libraries required by the backend. Additional options can be passed.

doInit
void doInit()

Call any initialization code required by the Backend. May be overriden.

doDestroy
void doDestroy()

Call any de-initialization code required by the Backend. May be overriden.

Meta