OGRE
1.11.6
Object-Oriented Graphics Rendering Engine
|
An off-screen rendering context. More...
#include <OgreGLPBuffer.h>
Public Member Functions | |
GLPBuffer (PixelComponentType format, uint32 width, uint32 height) | |
virtual | ~GLPBuffer () |
virtual GLContext * | getContext () const =0 |
Get the GL context that needs to be active to render to this target. More... | |
virtual GLFrameBufferObjectCommon * | getFBO () |
PixelComponentType | getFormat () |
uint32 | getHeight () |
uint32 | getWidth () |
An off-screen rendering context.
These contexts are always RGBA for simplicity, speed and convience, but the component format is configurable.
|
inline |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
pure virtualinherited |
Get the GL context that needs to be active to render to this target.
Implemented in Ogre::GLFBORenderTexture, Ogre::GL3PlusFBORenderTexture, Ogre::GLES2FBORenderTexture, Ogre::GLCopyingRenderTexture, Ogre::GLPBRenderTexture, Ogre::GL3PlusFBOMultiRenderTarget, Ogre::GLES2FBOMultiRenderTarget, and Ogre::GLFBOMultiRenderTarget.
|
inlinevirtualinherited |