28 #ifndef __OgreGLESFBORTT_H__
29 #define __OgreGLESFBORTT_H__
37 class GLESRenderBuffer;
46 virtual void getCustomAttribute(
const String& name,
void* pData);
49 virtual void swapBuffers(
bool waitForVSync =
true);
73 void getBestDepthStencil(GLenum internalFormat, GLenum *depthFormat, GLenum *stencilFormat);
130 format(format), width(width), height(height), samples(fsaa)
143 else if(format == other.
format)
145 if(width < other.
width)
149 else if(width == other.
width)
153 else if (height == other.
height)
167 buffer(buffer), refcount(1)
181 void detectFBOFormats();
182 GLuint _tryFormat(GLenum depthFormat, GLenum stencilFormat);
183 bool _tryPackedFormat(GLenum packedFormat);
A 'canvas' which can receive the results of a rendering operation.
RenderTexture for GL ES FBO.
RenderBufferMap mRenderBufferMap
bool operator<(SharedPtr< T > const &a, SharedPtr< U > const &b)
This class represents a render target that renders to multiple RenderTextures at once.
GLuint getTemporaryFBO()
Get a FBO without depth/stencil for temporary use, like blitting between textures.
Frame Buffer Object abstraction.
Manager/factory for RenderTextures.
PixelFormat
The pixel format used for images, textures, and render surfaces.
void unbind(RenderTarget *target)
Unbind a certain render target.
GLuint mTempFBO
Temporary FBO identifier.
bool checkFormat(PixelFormat format)
Check if a certain format is usable as FBO rendertarget format.
map< RBFormat, RBRef >::type RenderBufferMap
GLESFrameBufferObject mFB
Base class for GL Render Textures.
Factory for GL Frame Buffer Objects, and related things.
RBRef(GLESRenderBuffer *buffer)
GLESRenderBuffer * buffer