48 void Init(
int w,
int h,
int ms_samples=0);
#define ClassDef(name, id)
static Bool_t fgMultiSampleNAWarned
void Unbind()
Unbind the frame-buffer object.
void UnbindTexture()
Unbind texture.
UInt_t CreateAndAttachRenderBuffer(Int_t format, Int_t type)
virtual ~TGLFBO()
Destructor.
void Init(int w, int h, int ms_samples=0)
Acquire GL resources for given width, height and number of multi-sampling samples.
Bool_t GetIsRescaled() const
UInt_t CreateAndAttachColorTexture()
Initialize color-texture and attach it to current FB.
void Bind()
Bind the frame-buffer object.
Float_t GetHScale() const
Int_t GetMSSamples() const
static void SetRescaleToPow2(Bool_t r)
Set state of fgRescaleToPow2 static member.
Float_t GetWScale() const
static Bool_t GetRescaleToPow2()
Return state of fgRescaleToPow2 static member.
void Release()
Release the allocated GL resources.
TGLFBO & operator=(const TGLFBO &)
void BindTexture()
Bind texture.
Int_t GetMSCoverageSamples() const
static Bool_t fgRescaleToPow2