OGRE-Next
4.0.0unstable
Object-Oriented Graphics Rendering Engine
|
Renderbuffer surface. More...
#include <OgreGLES2HardwarePixelBuffer.h>
Public Member Functions | |
GLES2RenderBuffer (GLenum format, uint32 width, uint32 height, GLsizei numSamples) | |
virtual | ~GLES2RenderBuffer () |
virtual void | bindToFramebuffer (GLenum attachment, uint32 zoffset) |
Bind surface to frame buffer. More... | |
Public Member Functions inherited from Ogre::v1::GLES2HardwarePixelBuffer | |
GLES2HardwarePixelBuffer (uint32 mWidth, uint32 mHeight, uint32 mDepth, PixelFormat mFormat, bool hwGamma, HardwareBuffer::Usage usage) | |
Should be called by HardwareBufferManager. More... | |
virtual | ~GLES2HardwarePixelBuffer () |
void | blitFromMemory (const PixelBox &src, const Box &dstBox) |
void | blitToMemory (const Box &srcBox, const PixelBox &dst) |
GLenum | getGLFormat () |
Renderbuffer surface.
Needs FBO extension.
Ogre::v1::GLES2RenderBuffer::GLES2RenderBuffer | ( | GLenum | format, |
uint32 | width, | ||
uint32 | height, | ||
GLsizei | numSamples | ||
) |
|
virtual |
|
virtual |
Bind surface to frame buffer.
Needs FBO extension.
Reimplemented from Ogre::v1::GLES2HardwarePixelBuffer.