Dgame.Window.GLContextSettings
« Go back
Bottom- struct GLContextSettings;
- The GLContextSettings structure defines a way to tell OpenGL important user settings,
like the desired major / minor version or the anti aliasing level.
Note:
if anti aliasing is activated you will notice a drastic reduction of your framerate.
Author:
Randy Schuett (rswhite4@googlemail.com)
- enum Profile: ubyte;
- The profile of the OpenGL Context
- enum Version: ubyte;
- The supported OpenGL Versions
- AntiAlias antiAlias;
- Anti aliasing level. Default is AntiAlias.None
Note:
A too high value may crash your application at the beginning because your driver does not support it.
- Version vers;
- The OpenGL Version. Default is Version.Default
- Profile profile;
- The OpenGL Context profile. Default is Profile.Compatibility
- pure nothrow @nogc this(AntiAlias antiAlias, Version vers = Version.Default, Profile profile = Profile.Compatibility);
- CTor
Page generated by Ddoc.
« Go back