Represents the various properties of an OpenGL pixel format. More...
#include <juce_OpenGLPixelFormat.h>
Public Member Functions | |
OpenGLPixelFormat (int bitsPerRGBComponent=8, int alphaBits=8, int depthBufferBits=16, int stencilBufferBits=0) noexcept | |
Creates an OpenGLPixelFormat. More... | |
bool | operator!= (const OpenGLPixelFormat &) const noexcept |
bool | operator== (const OpenGLPixelFormat &) const noexcept |
Public Attributes | |
int | accumulationBufferAlphaBits |
The number of bits per pixel to use for an accumulation buffer's alpha channel. More... | |
int | accumulationBufferBlueBits |
The number of bits per pixel to use for an accumulation buffer's blue channel. More... | |
int | accumulationBufferGreenBits |
The number of bits per pixel to use for an accumulation buffer's green channel. More... | |
int | accumulationBufferRedBits |
The number of bits per pixel to use for an accumulation buffer's red channel. More... | |
int | alphaBits |
The number of bits per pixel to use for the alpha channel. More... | |
int | blueBits |
The number of bits per pixel to use for the blue channel. More... | |
int | depthBufferBits |
The number of bits per pixel to use for a depth buffer. More... | |
int | greenBits |
The number of bits per pixel to use for the green channel. More... | |
uint8 | multisamplingLevel |
The number of samples to use for full-scene multisampled anti-aliasing (if available). More... | |
int | redBits |
The number of bits per pixel to use for the red channel. More... | |
int | stencilBufferBits |
The number of bits per pixel to use for a stencil buffer. More... | |
Represents the various properties of an OpenGL pixel format.
|
noexcept |
Creates an OpenGLPixelFormat.
The default constructor just initialises the object as a simple 8-bit RGBA format.
|
noexcept |
|
noexcept |
int OpenGLPixelFormat::accumulationBufferAlphaBits |
The number of bits per pixel to use for an accumulation buffer's alpha channel.
Referenced by OpenGLContext::NativeContext::createAttribs(), OpenGLContext::NativeContext::initialisePixelFormatDescriptor(), OpenGLContext::NativeContext::NativeContext(), and OpenGLContext::NativeContext::wglChoosePixelFormatExtension().
int OpenGLPixelFormat::accumulationBufferBlueBits |
The number of bits per pixel to use for an accumulation buffer's blue channel.
Referenced by OpenGLContext::NativeContext::createAttribs(), OpenGLContext::NativeContext::initialisePixelFormatDescriptor(), OpenGLContext::NativeContext::NativeContext(), and OpenGLContext::NativeContext::wglChoosePixelFormatExtension().
int OpenGLPixelFormat::accumulationBufferGreenBits |
The number of bits per pixel to use for an accumulation buffer's green channel.
Referenced by OpenGLContext::NativeContext::createAttribs(), OpenGLContext::NativeContext::initialisePixelFormatDescriptor(), OpenGLContext::NativeContext::NativeContext(), and OpenGLContext::NativeContext::wglChoosePixelFormatExtension().
int OpenGLPixelFormat::accumulationBufferRedBits |
The number of bits per pixel to use for an accumulation buffer's red channel.
Referenced by OpenGLContext::NativeContext::createAttribs(), OpenGLContext::NativeContext::initialisePixelFormatDescriptor(), OpenGLContext::NativeContext::NativeContext(), and OpenGLContext::NativeContext::wglChoosePixelFormatExtension().
int OpenGLPixelFormat::alphaBits |
The number of bits per pixel to use for the alpha channel.
Referenced by OpenGLContext::NativeContext::createAttribs(), OpenGLContext::NativeContext::initialisePixelFormatDescriptor(), OpenGLContext::NativeContext::NativeContext(), and OpenGLContext::NativeContext::wglChoosePixelFormatExtension().
int OpenGLPixelFormat::blueBits |
The number of bits per pixel to use for the blue channel.
Referenced by OpenGLContext::NativeContext::createAttribs(), OpenGLContext::NativeContext::initialisePixelFormatDescriptor(), OpenGLContext::NativeContext::NativeContext(), and OpenGLContext::NativeContext::wglChoosePixelFormatExtension().
int OpenGLPixelFormat::depthBufferBits |
The number of bits per pixel to use for a depth buffer.
Referenced by OpenGLContext::NativeContext::createAttribs(), OpenGLContext::NativeContext::initialisePixelFormatDescriptor(), JuceGLView::layerClass, OpenGLContext::NativeContext::NativeContext(), and OpenGLContext::NativeContext::wglChoosePixelFormatExtension().
int OpenGLPixelFormat::greenBits |
The number of bits per pixel to use for the green channel.
Referenced by OpenGLContext::NativeContext::createAttribs(), OpenGLContext::NativeContext::initialisePixelFormatDescriptor(), OpenGLContext::NativeContext::NativeContext(), and OpenGLContext::NativeContext::wglChoosePixelFormatExtension().
uint8 OpenGLPixelFormat::multisamplingLevel |
The number of samples to use for full-scene multisampled anti-aliasing (if available).
Referenced by OpenGLContext::NativeContext::createAttribs(), and OpenGLContext::NativeContext::wglChoosePixelFormatExtension().
int OpenGLPixelFormat::redBits |
The number of bits per pixel to use for the red channel.
Referenced by OpenGLContext::NativeContext::createAttribs(), OpenGLContext::NativeContext::initialisePixelFormatDescriptor(), OpenGLContext::NativeContext::NativeContext(), and OpenGLContext::NativeContext::wglChoosePixelFormatExtension().
int OpenGLPixelFormat::stencilBufferBits |
The number of bits per pixel to use for a stencil buffer.
Referenced by OpenGLContext::NativeContext::createAttribs(), OpenGLContext::NativeContext::initialisePixelFormatDescriptor(), OpenGLContext::NativeContext::NativeContext(), and OpenGLContext::NativeContext::wglChoosePixelFormatExtension().