OGRE-Next  4.0.0unstable
Object-Oriented Graphics Rendering Engine
Ogre::v1::GLES2RenderBuffer Class Reference

Renderbuffer surface. More...

#include <OgreGLES2HardwarePixelBuffer.h>

+ Inheritance diagram for Ogre::v1::GLES2RenderBuffer:

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 ()
 

Detailed Description

Renderbuffer surface.

Needs FBO extension.

Constructor & Destructor Documentation

◆ GLES2RenderBuffer()

Ogre::v1::GLES2RenderBuffer::GLES2RenderBuffer ( GLenum  format,
uint32  width,
uint32  height,
GLsizei  numSamples 
)

◆ ~GLES2RenderBuffer()

virtual Ogre::v1::GLES2RenderBuffer::~GLES2RenderBuffer ( )
virtual

Member Function Documentation

◆ bindToFramebuffer()

virtual void Ogre::v1::GLES2RenderBuffer::bindToFramebuffer ( GLenum  attachment,
uint32  zoffset 
)
virtual

Bind surface to frame buffer.

Needs FBO extension.

Reimplemented from Ogre::v1::GLES2HardwarePixelBuffer.


The documentation for this class was generated from the following file: