GlWindow.mode

int mode() const nothrow @nogc

Gets the OpenGL mode flags.

Returns

Mode flags (combination of Mode.RGB, Mode.DOUBLE, Mode.DEPTH, etc.)
void mode(int m) nothrow @nogc

Sets the OpenGL mode flags.

Must be called before show() for the mode to take effect.

Parameters

mMode flags (combination of Mode.RGB, Mode.DOUBLE, Mode.DEPTH, etc.)