1 /*---------------------------------------------------------------------------*\
5 * Copyright (C) 2000-2002 by the OpenSG Forum *
9 * contact: dirk@opensg.org, gerrit.voss@vossg.org, jbehr@zgdv.de *
11 \*---------------------------------------------------------------------------*/
12 /*---------------------------------------------------------------------------*\
15 * This library is free software; you can redistribute it and/or modify it *
16 * under the terms of the GNU Library General Public License as published *
17 * by the Free Software Foundation, version 2. *
19 * This library is distributed in the hope that it will be useful, but *
20 * WITHOUT ANY WARRANTY; without even the implied warranty of *
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
22 * Library General Public License for more details. *
24 * You should have received a copy of the GNU Library General Public *
25 * License along with this library; if not, write to the Free Software *
26 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
28 \*---------------------------------------------------------------------------*/
29 /*---------------------------------------------------------------------------*\
37 \*---------------------------------------------------------------------------*/
40 #ifndef _OSGFBOBACKGROUND_H_
41 #define _OSGFBOBACKGROUND_H_
46 #include "OSGFBOBackgroundBase.h"
52 /*! \brief FBO Background class. See \ref
53 PageSystemWindowBackgroundFBO for a description.
54 \ingroup GrpWindowBackground
55 \ingroup GrpLibOSGWindow
59 class OSG_WINDOW_DLLMAPPING FBOBackground
:
60 public FBOBackgroundBase
62 /*========================== PUBLIC =================================*/
66 typedef FBOBackgroundBase Inherited
;
68 /*---------------------------------------------------------------------*/
69 /*! \name your_category */
72 void clear(DrawEnv
*pEnv
);
75 /*---------------------------------------------------------------------*/
76 /*! \name transformation */
80 /*---------------------------------------------------------------------*/
81 /*! \name transformation */
84 virtual void changed(ConstFieldMaskArg whichField
,
88 /*---------------------------------------------------------------------*/
92 virtual void dump( UInt32 uiIndent
= 0,
93 const BitVector bvFlags
= 0) const;
96 /*========================= PROTECTED ===============================*/
100 static UInt32 _uiFramebufferObjectExt
;
101 static UInt32 _uiFramebufferBlitExt
;
103 static UInt32 _uiFuncBindFramebuffer
;
104 static UInt32 _uiFuncBlitFramebuffer
;
106 /*---------------------------------------------------------------------*/
107 /*! \name Constructors */
112 FBOBackground(const FBOBackground
&source
);
115 /*---------------------------------------------------------------------*/
116 /*! \name Destructors */
120 /*---------------------------------------------------------------------*/
121 /*! \name Destructors */
124 virtual ~FBOBackground(void);
127 static void initMethod( InitPhase ePhase
);
130 /*========================= PRIVATE =================================*/
134 friend class FieldContainer
;
135 friend class FBOBackgroundBase
;
137 void operator =(const FBOBackground
&source
);
140 //---------------------------------------------------------------------------
142 //---------------------------------------------------------------------------
145 /** \brief class pointer
147 typedef FBOBackground
*FBOBackgroundP
;
151 #include "OSGFBOBackgroundBase.inl"
152 #include "OSGFBOBackground.inl"
154 #endif /* _OSGFBOBACKGROUND_H_ */