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