- Timestamp:
- 08/22/08 13:20:06 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/FrameBufferObject.h
r2859 r2861 25 25 FILTER_TYPE filterType, 26 26 bool useMipMap, 27 bool useMultiSampling); 27 bool useMultiSampling, 28 int attachment_idx); 28 29 29 30 unsigned int GetTexture() const {return mTexId;} … … 42 43 public: 43 44 44 enum DEPTH_FORMAT { DEPTH_ 16, DEPTH_24, DEPTH_32 };45 enum DEPTH_FORMAT { DEPTH_NONE, DEPTH_16, DEPTH_24, DEPTH_32 }; 45 46 46 47 /** constructor requesting an opengl occlusion query. 47 48 */ 48 FrameBufferObject(int w, int h, bool useDepth,DEPTH_FORMAT d);49 FrameBufferObject(int w, int h, DEPTH_FORMAT d); 49 50 /** Creates and adds a color buffer to the current frame buffer object. 50 51 Returns the index that allows to retrieve the color buffer object. … … 59 60 */ 60 61 ColorBufferObject *GetColorBuffer(int i) const { return mColorBuffers[i]; } 61 62 /** Binds this frame buffer object. 63 */ 64 void Bind() const; 65 /** Releases any bound frame buffer object. 66 */ 67 static void Release(); 62 68 63 69 protected:
Note: See TracChangeset
for help on using the changeset viewer.