Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
#include <OpenGLContext.hpp>
Public Member Functions | |
| OpenGLContextFormat () | |
| virtual const char * | className () |
| void | setRGBABits (int r, int g, int b, int a) |
| void | setAccumRGBABits (int r, int g, int b, int a) |
| void | setDoubleBuffer (bool double_buffer_on) |
| void | setDepthBufferBits (int bits) |
| void | setStencilBufferBits (int bits) |
| void | setMultisample (bool multisample_on) |
| void | setMultisampleSamples (int samples) |
| void | setStereo (bool stereo_on) |
| void | setFullscreen (bool fullscreent) |
| void | setVSync (bool vsync_on) |
| const ivec4 & | rgbaBits () const |
| const ivec4 & | accumRGBABits () const |
| bool | doubleBuffer () const |
| int | depthBufferBits () const |
| int | stencilBufferBits () const |
| bool | multisample () const |
| int | multisampleSamples () const |
| bool | stereo () const |
| bool | fullscreen () const |
| bool | vSync () const |
| int | bitsPerPixel () const |
| Returns rgbaBits().r() + rgbaBits().g() + rgbaBits().b() + rgbaBits().a(). | |
Protected Attributes | |
| ivec4 | mRGBABits |
| ivec4 | mAccumRGBABits |
| bool | mHasDoubleBuffer |
| int | mZBufferBits |
| int | mStencilBufferBits |
| bool | mHasMultisample |
| int | mMultisampleSamples |
| bool | mStereo |
| bool | mFullscreen |
| bool | mVSync |
| vl::OpenGLContextFormat::OpenGLContextFormat | ( | ) | [inline] |
| virtual const char* vl::OpenGLContextFormat::className | ( | ) | [inline, virtual] |
| void vl::OpenGLContextFormat::setRGBABits | ( | int | r, | |
| int | g, | |||
| int | b, | |||
| int | a | |||
| ) | [inline] |
| void vl::OpenGLContextFormat::setAccumRGBABits | ( | int | r, | |
| int | g, | |||
| int | b, | |||
| int | a | |||
| ) | [inline] |
| void vl::OpenGLContextFormat::setDoubleBuffer | ( | bool | double_buffer_on | ) | [inline] |
| void vl::OpenGLContextFormat::setDepthBufferBits | ( | int | bits | ) | [inline] |
| void vl::OpenGLContextFormat::setStencilBufferBits | ( | int | bits | ) | [inline] |
| void vl::OpenGLContextFormat::setMultisample | ( | bool | multisample_on | ) | [inline] |
| void vl::OpenGLContextFormat::setMultisampleSamples | ( | int | samples | ) | [inline] |
| void vl::OpenGLContextFormat::setStereo | ( | bool | stereo_on | ) | [inline] |
| void vl::OpenGLContextFormat::setFullscreen | ( | bool | fullscreent | ) | [inline] |
| void vl::OpenGLContextFormat::setVSync | ( | bool | vsync_on | ) | [inline] |
| const ivec4& vl::OpenGLContextFormat::rgbaBits | ( | ) | const [inline] |
| const ivec4& vl::OpenGLContextFormat::accumRGBABits | ( | ) | const [inline] |
| bool vl::OpenGLContextFormat::doubleBuffer | ( | ) | const [inline] |
| int vl::OpenGLContextFormat::depthBufferBits | ( | ) | const [inline] |
| int vl::OpenGLContextFormat::stencilBufferBits | ( | ) | const [inline] |
| bool vl::OpenGLContextFormat::multisample | ( | ) | const [inline] |
| int vl::OpenGLContextFormat::multisampleSamples | ( | ) | const [inline] |
| bool vl::OpenGLContextFormat::stereo | ( | ) | const [inline] |
| bool vl::OpenGLContextFormat::fullscreen | ( | ) | const [inline] |
| bool vl::OpenGLContextFormat::vSync | ( | ) | const [inline] |
| int vl::OpenGLContextFormat::bitsPerPixel | ( | ) | const [inline] |
Returns rgbaBits().r() + rgbaBits().g() + rgbaBits().b() + rgbaBits().a().
ivec4 vl::OpenGLContextFormat::mRGBABits [protected] |
ivec4 vl::OpenGLContextFormat::mAccumRGBABits [protected] |
bool vl::OpenGLContextFormat::mHasDoubleBuffer [protected] |
int vl::OpenGLContextFormat::mZBufferBits [protected] |
int vl::OpenGLContextFormat::mStencilBufferBits [protected] |
bool vl::OpenGLContextFormat::mHasMultisample [protected] |
int vl::OpenGLContextFormat::mMultisampleSamples [protected] |
bool vl::OpenGLContextFormat::mStereo [protected] |
bool vl::OpenGLContextFormat::mFullscreen [protected] |
bool vl::OpenGLContextFormat::mVSync [protected] |