.. index:: pair: class; EE::Window::ContextSettings .. _doxid-class_e_e_1_1_window_1_1_context_settings: class EE::Window::ContextSettings ================================= .. toctree:: :hidden: :ref:`ContextSettings ` Small class that contains the renderer context information. .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class ContextSettings { public: // fields static constexpr :ref:`Int32` :target:`FrameRateLimitScreenRefreshRate` =(std::numeric_limits<:ref:`Int32`>::max)() - 1; :ref:`GraphicsLibraryVersion` :target:`Version` { GLv_default }; :ref:`Uint32` :target:`DepthBufferSize` { 24 }; :ref:`Uint32` :target:`StencilBufferSize` { 1 }; :ref:`Uint32` :target:`Multisamples` { 0 }; :ref:`Int32` :target:`FrameRateLimit` { :ref:`ContextSettings::FrameRateLimitScreenRefreshRate` }; bool :target:`VSync` { false }; bool :target:`DoubleBuffering` { true }; bool :target:`SharedGLContext` { true }; // construction :target:`ContextSettings`( bool vsync, :ref:`Int32` frameRateLimit = :ref:`FrameRateLimitScreenRefreshRate`, :ref:`Uint32` multisamples = 0, :ref:`GraphicsLibraryVersion` version = GLv_default, bool sharedGLContext = true, bool doubleBuffering = true, :ref:`Uint32` depthBufferSize = 24, :ref:`Uint32` stencilBufferSize = 1 ); :target:`ContextSettings`(); };