Encapsulation of format / contents of an OpenGL buffer.
Definition at line 35 of file TGLFormat.h.
Public Member Functions | |
TGLFormat () | |
TGLFormat (Rgl::EFormatOptions options) | |
Define surface using options. | |
virtual | ~TGLFormat () |
Destructor. | |
Int_t | GetAccumSize () const |
Get the size of accum buffer. | |
Int_t | GetDepthSize () const |
Get the size of depth buffer. | |
Int_t | GetSamples () const |
Get the number of samples for multi-sampling. | |
Int_t | GetStencilSize () const |
Get the size of stencil buffer. | |
Bool_t | HasAccumBuffer () const |
Check, if this surface has accumulation buffer. | |
Bool_t | HasDepth () const |
Check, if this surface has depth buffer. | |
Bool_t | HasMultiSampling () const |
Check, if multi-sampling is required. | |
Bool_t | HasStencil () const |
Check, if this surface has stencil buffer. | |
virtual TClass * | IsA () const |
Bool_t | IsDoubleBuffered () const |
Check, if the surface is double buffered. | |
Bool_t | IsStereo () const |
Check, if the surface is stereo buffered. | |
Bool_t | operator!= (const TGLFormat &rhs) const |
Check for non-equality. | |
Bool_t | operator== (const TGLFormat &rhs) const |
Check if two formats are equal. | |
void | SetAccumSize (Int_t accum) |
Set the size of accum buffer. | |
void | SetDepthSize (Int_t depth) |
Set the size of color buffer. | |
void | SetDoubleBuffered (Bool_t db) |
Set the surface as double/single buffered. | |
void | SetSamples (Int_t samples) |
Set the number of samples for multi-sampling. | |
void | SetStencilSize (Int_t stencil) |
Set the size of stencil buffer. | |
void | SetStereo (Bool_t db) |
Set the surface as stereo/non-stereo buffered. | |
virtual void | Streamer (TBuffer &) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Static Public Member Functions | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Static Private Member Functions | |
static Int_t | GetDefaultSamples () |
Return default number of samples for multi-sampling. | |
static void | InitAvailableSamples () |
Private Attributes | |
Int_t | fAccumSize |
Int_t | fDepthSize |
Bool_t | fDoubleBuffered |
Int_t | fSamples |
Int_t | fStencilSize |
Bool_t | fStereo |
Static Private Attributes | |
static std::vector< Int_t > | fgAvailableSamples |
#include <TGLFormat.h>
TGLFormat::TGLFormat | ( | ) |
Definition at line 35 of file TGLFormat.cxx.
TGLFormat::TGLFormat | ( | Rgl::EFormatOptions | options | ) |
Define surface using options.
Definition at line 62 of file TGLFormat.cxx.
|
virtual |
Destructor.
Definition at line 79 of file TGLFormat.cxx.
Definition at line 83 of file TGLFormat.h.
Definition at line 83 of file TGLFormat.h.
Int_t TGLFormat::GetAccumSize | ( | ) | const |
Get the size of accum buffer.
Definition at line 153 of file TGLFormat.cxx.
|
staticprivate |
Return default number of samples for multi-sampling.
Definition at line 234 of file TGLFormat.cxx.
Int_t TGLFormat::GetDepthSize | ( | ) | const |
Get the size of depth buffer.
Definition at line 103 of file TGLFormat.cxx.
Int_t TGLFormat::GetSamples | ( | ) | const |
Get the number of samples for multi-sampling.
Definition at line 210 of file TGLFormat.cxx.
Int_t TGLFormat::GetStencilSize | ( | ) | const |
Get the size of stencil buffer.
Definition at line 128 of file TGLFormat.cxx.
Bool_t TGLFormat::HasAccumBuffer | ( | ) | const |
Check, if this surface has accumulation buffer.
Definition at line 170 of file TGLFormat.cxx.
Bool_t TGLFormat::HasDepth | ( | ) | const |
Check, if this surface has depth buffer.
Definition at line 120 of file TGLFormat.cxx.
Bool_t TGLFormat::HasMultiSampling | ( | ) | const |
Check, if multi-sampling is required.
Definition at line 226 of file TGLFormat.cxx.
Bool_t TGLFormat::HasStencil | ( | ) | const |
Check, if this surface has stencil buffer.
Definition at line 145 of file TGLFormat.cxx.
|
staticprivate |
Definition at line 262 of file TGLFormat.cxx.
Definition at line 83 of file TGLFormat.h.
Bool_t TGLFormat::IsDoubleBuffered | ( | ) | const |
Check, if the surface is double buffered.
Definition at line 178 of file TGLFormat.cxx.
Bool_t TGLFormat::IsStereo | ( | ) | const |
Check, if the surface is stereo buffered.
Definition at line 194 of file TGLFormat.cxx.
Check for non-equality.
Definition at line 95 of file TGLFormat.cxx.
Check if two formats are equal.
Definition at line 86 of file TGLFormat.cxx.
void TGLFormat::SetAccumSize | ( | Int_t | accum | ) |
Set the size of accum buffer.
Definition at line 161 of file TGLFormat.cxx.
void TGLFormat::SetDepthSize | ( | Int_t | depth | ) |
Set the size of color buffer.
Definition at line 111 of file TGLFormat.cxx.
void TGLFormat::SetDoubleBuffered | ( | Bool_t | db | ) |
Set the surface as double/single buffered.
Definition at line 186 of file TGLFormat.cxx.
void TGLFormat::SetSamples | ( | Int_t | samples | ) |
Set the number of samples for multi-sampling.
Definition at line 218 of file TGLFormat.cxx.
void TGLFormat::SetStencilSize | ( | Int_t | stencil | ) |
Set the size of stencil buffer.
Definition at line 136 of file TGLFormat.cxx.
void TGLFormat::SetStereo | ( | Bool_t | db | ) |
Set the surface as stereo/non-stereo buffered.
Definition at line 202 of file TGLFormat.cxx.
|
inline |
Definition at line 83 of file TGLFormat.h.
|
private |
Definition at line 41 of file TGLFormat.h.
|
private |
Definition at line 40 of file TGLFormat.h.
|
private |
Definition at line 38 of file TGLFormat.h.
|
staticprivate |
Definition at line 45 of file TGLFormat.h.
|
private |
Definition at line 43 of file TGLFormat.h.
|
private |
Definition at line 42 of file TGLFormat.h.
|
private |
Definition at line 39 of file TGLFormat.h.