struct mrpt::gui::CDisplayWindowGUI_Params

Additional parameters to change the window behavior and OpenGL context.

#include <mrpt/gui/CDisplayWindowGUI.h>

struct CDisplayWindowGUI_Params
{
    //
fields

    bool resizable = true;
    bool fullscreen = false;
    int colorBits = 8;
    int alphaBits = 8;
    int depthBits = 24;
    int stencilBits = 8;
    int nSamples = 0;
    unsigned int glMajor = 3;
    unsigned int glMinor = 3;
    bool maximized = false;
    bool gles_context = false;

    // construction

    CDisplayWindowGUI_Params();
};

Fields

bool gles_context = false

If true, will try to use GLES instead of OpenGL.

Note that the glMajor and glMinor version should then be changed accordingly (e.g. to 1.5 instead of 3.3)