OGRE  1.11.6
Object-Oriented Graphics Rendering Engine
Ogre::GLPBuffer Class Referenceabstract

An off-screen rendering context. More...

#include <OgreGLPBuffer.h>

+ Inheritance diagram for Ogre::GLPBuffer:

Public Member Functions

 GLPBuffer (PixelComponentType format, uint32 width, uint32 height)
 
virtual ~GLPBuffer ()
 
virtual GLContextgetContext () const =0
 Get the GL context that needs to be active to render to this target. More...
 
virtual GLFrameBufferObjectCommongetFBO ()
 
PixelComponentType getFormat ()
 
uint32 getHeight ()
 
uint32 getWidth ()
 

Detailed Description

An off-screen rendering context.

These contexts are always RGBA for simplicity, speed and convience, but the component format is configurable.

Constructor & Destructor Documentation

◆ GLPBuffer()

Ogre::GLPBuffer::GLPBuffer ( PixelComponentType  format,
uint32  width,
uint32  height 
)
inline

◆ ~GLPBuffer()

virtual Ogre::GLPBuffer::~GLPBuffer ( )
inlinevirtual

Member Function Documentation

◆ getFormat()

PixelComponentType Ogre::GLPBuffer::getFormat ( )
inline

◆ getWidth()

uint32 Ogre::GLPBuffer::getWidth ( )
inline

◆ getHeight()

uint32 Ogre::GLPBuffer::getHeight ( )
inline

◆ getContext()

virtual GLContext* Ogre::GLRenderTarget::getContext ( ) const
pure virtualinherited

◆ getFBO()


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