Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/RenderSystems/GL/include/OSX/OgreOSXRenderTexture.h @ 3

Last change on this file since 3 was 3, checked in by anonymous, 17 years ago

=update

File size: 560 bytes
Line 
1#ifndef __OSXRenderTexture_H__
2#define __OSXRenderTexture_H__
3
4#include "OgrePrerequisites.h"
5
6#include "OgreGLPBuffer.h"
7#include "OgreOSXCarbonContext.h"
8
9namespace Ogre
10{
11    class OSXPBuffer : public GLPBuffer
12    {
13    public:
14        OSXPBuffer(PixelComponentType format, size_t width, size_t height );
15        ~OSXPBuffer();
16       
17        virtual GLContext *getContext();
18
19    protected:
20        void createPBuffer();
21                void destroyPBuffer();
22
23        private:
24                AGLPbuffer mPBuffer;
25                AGLContext mAGLContext;
26                OSXCarbonContext* mContext;
27    };
28}
29#endif
30
Note: See TracBrowser for help on using the repository browser.