Classes | |
class | wxGLContext |
An instance of a wxGLContext represents the state of an OpenGL state machine and the connection between OpenGL and the system. More... | |
class | wxGLCanvas |
wxGLCanvas is a class for displaying OpenGL graphics. More... | |
anonymous enum |
Constants for use with wxGLCanvas.
Enumerator | |
---|---|
WX_GL_RGBA |
Use true color (the default if no attributes at all are specified); do not use a palette. |
WX_GL_BUFFER_SIZE |
Specifies the number of bits for buffer if not WX_GL_RGBA. |
WX_GL_LEVEL |
Must be followed by 0 for main buffer, >0 for overlay, <0 for underlay. |
WX_GL_DOUBLEBUFFER |
Use double buffering if present (on if no attributes specified). |
WX_GL_STEREO |
Use stereoscopic display. |
WX_GL_AUX_BUFFERS |
Specifies number of auxiliary buffers. |
WX_GL_MIN_RED |
Use red buffer with most bits (> MIN_RED bits) |
WX_GL_MIN_GREEN |
Use green buffer with most bits (> MIN_GREEN bits) |
WX_GL_MIN_BLUE |
Use blue buffer with most bits (> MIN_BLUE bits) |
WX_GL_MIN_ALPHA |
Use alpha buffer with most bits (> MIN_ALPHA bits) |
WX_GL_DEPTH_SIZE |
Specifies number of bits for Z-buffer (typically 0, 16 or 32). |
WX_GL_STENCIL_SIZE |
Specifies number of bits for stencil buffer. |
WX_GL_MIN_ACCUM_RED |
Specifies minimal number of red accumulator bits. |
WX_GL_MIN_ACCUM_GREEN |
Specifies minimal number of green accumulator bits. |
WX_GL_MIN_ACCUM_BLUE |
Specifies minimal number of blue accumulator bits. |
WX_GL_MIN_ACCUM_ALPHA |
Specifies minimal number of alpha accumulator bits. |
WX_GL_SAMPLE_BUFFERS |
1 for multisampling support (antialiasing) |
WX_GL_SAMPLES |
4 for 2x2 antialiasing supersampling on most graphics cards |
WX_GL_CORE_PROFILE |
Request an OpenGL core profile. Notice that using this attribute will result in also requesting OpenGL at least version 3.0. See WX_GL_MAJOR_VERSION and WX_GL_MINOR_VERSION for more precise version selection.
|
WX_GL_MAJOR_VERSION |
Request specific OpenGL core major version number (>= 3). This attribute should be followed by the major version number requested. It has no effect under OS X where specifying WX_GL_CORE_PROFILE will result in using OpenGL version at least 3.2 but can still be used there for portability.
|
WX_GL_MINOR_VERSION |
Request specific OpenGL core minor version number. This attribute has the same semantics as WX_GL_MAJOR_VERSION but is for the minor OpenGL version, e.g. 2 if OpenGL 3.2 is requested.
|