Home | All Classes | Grouped Classes | Index | Search
OpenGL specific display window description. More...
Derived from:
CL_DisplayWindowDescription
Derived by:
none
Group: GL (Display 2D)
#include <ClanLib/gl.h>
Construction:
Constructs a window description with default values. |
Attributes:
Returns true if only TrueColor and DirectColor visuals are considered. | |
Returns true if only double-buffered visuals are considered. | |
Returns true if only stereo visuals are considered. | |
Returns the desired color index buffer size. | |
Returns the required buffer level. | |
Returns the desired number of auxilary buffers. | |
Returns the minimum required red buffer. | |
Returns the minimum required green buffer. | |
Returns the minimum required blue buffer. | |
Returns the minimum required alpha buffer. | |
Returns the minimum required depth buffer. | |
Returns the minimum required stencil buffer. | |
Returns the minimum required red accumulation buffer. | |
Returns the minimum required green accumulation buffer. | |
Returns the minimum required blue accumulation buffer. | |
Returns the minimum required alpha accumulation buffer. |
Operations:
Sets if only TrueColor and DirectColor visuals are considered. | |
Sets if only double-buffered visuals are considered. | |
Sets if only stereo visuals are to be considered. | |
Sets the desired color index buffer size. | |
Sets the required buffer level. | |
Sets the desired number of auxilary buffers. | |
Sets the minimum required red buffer. | |
Sets the minimum required green buffer. | |
Sets the minimum required blue buffer. | |
Sets the minimum required alpha buffer. | |
Sets the minimum required depth buffer. | |
Sets the minimum required stencil buffer. | |
Sets the minimum required red accumulation buffer. | |
Sets the minimum required green accumulation buffer. | |
Sets the minimum required blue accumulation buffer. | |
Sets the minimum required alpha accumulation buffer. |
Detailed description:
!group=GL/Display 2D! !header=gl.h!Use this class to setup OpenGL specific settings for a top level window:
CL_OpenGLWindowDescription desc; dest.set_title("OpenGL window with stereo visual"); desc.set_stereo(true); desc.set_stencil_size(4); CL_DisplayWindow window(desc);