- Timestamp:
- 08/20/08 13:08:09 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/FrameBufferObject.h
r2855 r2856 16 16 public: 17 17 18 enum COLOR_FORMAT { BUFFER_UBYTE, BUFFER_FLOAT_16, BUFFER_FLOAT_32 }; 18 enum FORMAT { BUFFER_UBYTE, BUFFER_FLOAT_16, BUFFER_FLOAT_32 }; 19 enum FILTER_TYPE { GL_REPEAT, GL_CLAMP_TO_EDGE }; 20 enum WRAP_TYPE { WRAP_NEAREST, WRAP_LINEAR, WRAP_MIPMAP_LINEAR }; 19 21 20 22 ColorBufferObject(int w, int h, 21 COLOR_FORMAT c,22 intwrapType,23 intfilterType,23 FORMAT c, 24 WRAP_TYPE wrapType, 25 FILTER_TYPE filterType, 24 26 bool useMipMap, 25 27 bool useMultiSampling); 28 29 protected: 30 31 unsigned int mId; 32 unsigned int mTexId; 26 33 }; 27 34 … … 40 47 Returns a pointer to the buffer object 41 48 */ 42 ColorBufferObject *AddColorBuffer(ColorBufferObject:: COLOR_FORMAT col,49 ColorBufferObject *AddColorBuffer(ColorBufferObject::FORMAT col, 43 50 int wrapType, 44 51 int filterType,
Note: See TracChangeset
for help on using the changeset viewer.