#ifndef ROOT_TGLFormat
#define ROOT_TGLFormat
#ifndef ROOT_Rtypes
#include "Rtypes.h"
#endif
class TGLFormat {
public:
enum EFormatOptions {
kDoubleBuffer = 1,
kDepth = 2,
kAccum = 4,
kStencil = 8
};
private:
Bool_t fDoubleBuffered;
UInt_t fDepthSize;
UInt_t fAccumSize;
UInt_t fStencilSize;
public:
TGLFormat();
TGLFormat(EFormatOptions options);
virtual ~TGLFormat();
Bool_t operator == (const TGLFormat &rhs)const;
Bool_t operator != (const TGLFormat &rhs)const;
UInt_t GetDepthSize()const;
void SetDepthSize(UInt_t depth);
Bool_t HasDepth()const;
UInt_t GetStencilSize()const;
void SetStencilSize(UInt_t stencil);
Bool_t HasStencil()const;
UInt_t GetAccumSize()const;
void SetAccumSize(UInt_t accum);
Bool_t HasAccumBuffer()const;
Bool_t IsDoubleBuffered()const;
void SetDoubleBuffered(Bool_t db);
ClassDef(TGLFormat, 0)
};
#endif
Last change: Wed Jun 25 08:40:57 2008
Last generated: 2008-06-25 08:40
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.