Ignore:
Timestamp:
08/22/08 13:20:06 (16 years ago)
Author:
mattausch
Message:

cleaned up code

File:
1 edited

Legend:

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

    r2859 r2861  
    2525                                          FILTER_TYPE filterType,  
    2626                                          bool useMipMap,  
    27                                           bool useMultiSampling); 
     27                                          bool useMultiSampling, 
     28                                          int attachment_idx); 
    2829 
    2930        unsigned int GetTexture() const {return mTexId;} 
     
    4243public: 
    4344 
    44         enum DEPTH_FORMAT { DEPTH_16, DEPTH_24, DEPTH_32 }; 
     45        enum DEPTH_FORMAT { DEPTH_NONE, DEPTH_16, DEPTH_24, DEPTH_32 }; 
    4546 
    4647        /** constructor requesting an opengl occlusion query. 
    4748        */ 
    48         FrameBufferObject(int w, int h, bool useDepth, DEPTH_FORMAT d); 
     49        FrameBufferObject(int w, int h, DEPTH_FORMAT d); 
    4950        /** Creates and adds a color buffer to the current frame buffer object. 
    5051                Returns the index that allows to retrieve the color buffer object. 
     
    5960        */ 
    6061        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(); 
    6268 
    6369protected: 
Note: See TracChangeset for help on using the changeset viewer.