OGRE  1.12.4
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 

◆ ~GLPBuffer()

virtual Ogre::GLPBuffer::~GLPBuffer ( )

Member Function Documentation

◆ getFormat()

PixelComponentType Ogre::GLPBuffer::getFormat ( )

◆ getWidth()

uint32 Ogre::GLPBuffer::getWidth ( )

◆ getHeight()

uint32 Ogre::GLPBuffer::getHeight ( )

◆ getContext()

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

◆ getFBO()

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