28 #ifndef __OgreGLFBORTT_H__ 29 #define __OgreGLFBORTT_H__ 36 #define GL_DEPTH24_STENCIL8_EXT 0x88F0 49 virtual void getCustomAttribute(
const String& name,
void* pData);
52 virtual void swapBuffers();
55 virtual bool attachDepthBuffer(
DepthBuffer *depthBuffer );
56 virtual void detachDepthBuffer();
57 virtual void _detachDepthBuffer();
81 void getBestDepthStencil(GLenum internalFormat, GLenum *depthFormat, GLenum *stencilFormat);
138 format(inFormat), width(inWidth), height(inHeight), samples(fsaa)
152 else if(format == other.
format)
154 if(width < other.
width)
158 else if(width == other.
width)
162 else if (height == other.
height)
176 buffer(inBuffer), refcount(1)
193 void detectFBOFormats();
194 GLuint _tryFormat(GLenum depthFormat, GLenum stencilFormat);
195 bool _tryPackedFormat(GLenum packedFormat);
196 void _createTempFramebuffer(GLuint fmt, GLuint &fb, GLuint &tid);
A 'canvas' which can receive the results of a rendering operation.
RenderTexture for GL FBO.
RBRef(GLRenderBuffer *inBuffer)
GLuint getTemporaryFBO()
Get a FBO without depth/stencil for temporary use, like blitting between textures.
PixelFormat
The pixel format used for images, textures, and render surfaces.
Factory for GL Frame Buffer Objects, and related things.
Frame Buffer Object abstraction.
Manager/factory for RenderTextures.
bool checkFormat(PixelFormat format)
Check if a certain format is usable as FBO rendertarget format.
An abstract class that contains a depth/stencil buffer.
GLuint mTempFBO
Temporary FBO identifier.
map< RBFormat, RBRef >::type RenderBufferMap
This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info...
void unbind(RenderTarget *target)
Unbind a certain render target.
Base class for GL Render Textures.
RenderBufferMap mRenderBufferMap
This class represents a render target that renders to multiple RenderTextures at once.
bool mATIMode
Buggy ATI driver?
bool operator<(SharedPtr< T > const &a, SharedPtr< U > const &b)