class EE::Window::ContextSettings

ContextSettings Small class that contains the renderer context information.

#include <window.hpp>

class ContextSettings {
public:
    // fields

    GraphicsLibraryVersion Version;
    Uint32 DepthBufferSize;
    Uint32 StencilBufferSize;
    Uint32 Multisamples;
    Int32 FrameRateLimit;
    bool VSync;
    bool DoubleBuffering;
    bool SharedGLContext;

    // construction

    ContextSettings(
        bool vsync,
        GraphicsLibraryVersion version = GLv_default,
        bool doubleBuffering = true,
        Uint32 depthBufferSize = 24,
        Uint32 stencilBufferSize = 1,
        Uint32 multisamples = 0,
        bool sharedGLContext = true,
        Int32 frameRateLimit = 0
    );

    ContextSettings();
};