Represents the various properties of an OpenGL pixel format.
More...
Represents the various properties of an OpenGL pixel format.
- See also
- OpenGLContext::setPixelFormat
◆ OpenGLPixelFormat()
| juce::OpenGLPixelFormat::OpenGLPixelFormat |
( |
int |
bitsPerRGBComponent = 8, |
|
|
int |
alphaBits = 8, |
|
|
int |
depthBufferBits = 16, |
|
|
int |
stencilBufferBits = 0 |
|
) |
| |
|
noexcept |
Creates an OpenGLPixelFormat.
The default constructor just initialises the object as a simple 8-bit RGBA format.
◆ operator==()
◆ operator!=()
◆ redBits
| int juce::OpenGLPixelFormat::redBits |
The number of bits per pixel to use for the red channel.
◆ greenBits
| int juce::OpenGLPixelFormat::greenBits |
The number of bits per pixel to use for the green channel.
◆ blueBits
| int juce::OpenGLPixelFormat::blueBits |
The number of bits per pixel to use for the blue channel.
◆ alphaBits
| int juce::OpenGLPixelFormat::alphaBits |
The number of bits per pixel to use for the alpha channel.
◆ depthBufferBits
| int juce::OpenGLPixelFormat::depthBufferBits |
The number of bits per pixel to use for a depth buffer.
◆ stencilBufferBits
| int juce::OpenGLPixelFormat::stencilBufferBits |
The number of bits per pixel to use for a stencil buffer.
◆ accumulationBufferRedBits
| int juce::OpenGLPixelFormat::accumulationBufferRedBits |
The number of bits per pixel to use for an accumulation buffer's red channel.
◆ accumulationBufferGreenBits
| int juce::OpenGLPixelFormat::accumulationBufferGreenBits |
The number of bits per pixel to use for an accumulation buffer's green channel.
◆ accumulationBufferBlueBits
| int juce::OpenGLPixelFormat::accumulationBufferBlueBits |
The number of bits per pixel to use for an accumulation buffer's blue channel.
◆ accumulationBufferAlphaBits
| int juce::OpenGLPixelFormat::accumulationBufferAlphaBits |
The number of bits per pixel to use for an accumulation buffer's alpha channel.
◆ multisamplingLevel
| uint8 juce::OpenGLPixelFormat::multisamplingLevel |
The number of samples to use for full-scene multisampled anti-aliasing (if available).
The documentation for this class was generated from the following file: