Ignore:
Timestamp:
08/20/08 13:08:09 (16 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/FrameBufferObject.h

    r2855 r2856  
    1616public: 
    1717 
    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 }; 
    1921 
    2022        ColorBufferObject(int w, int h,  
    21                               COLOR_FORMAT c,  
    22                                           int wrapType,  
    23                                           int filterType,  
     23                              FORMAT c,  
     24                                          WRAP_TYPE wrapType,  
     25                                          FILTER_TYPE filterType,  
    2426                                          bool useMipMap,  
    2527                                          bool useMultiSampling); 
     28 
     29protected: 
     30 
     31        unsigned int mId; 
     32        unsigned int mTexId; 
    2633}; 
    2734 
     
    4047                Returns a pointer to the buffer object 
    4148        */ 
    42         ColorBufferObject *AddColorBuffer(ColorBufferObject::COLOR_FORMAT col,  
     49        ColorBufferObject *AddColorBuffer(ColorBufferObject::FORMAT col,  
    4350                                              int wrapType,  
    4451                                                                          int filterType,  
Note: See TracChangeset for help on using the changeset viewer.