BALL
1.4.79
|
#include <BALL/VIEW/RENDERING/renderTarget.h>
Public Member Functions | |
virtual | ~RenderTarget () |
virtual FrameBufferPtr | getBuffer ()=0 throw (BALL::Exception::NoBufferAvailable) |
virtual FrameBufferFormat | getFormat () const =0 |
virtual void | releaseBuffer (FrameBufferPtr buffer)=0 |
virtual bool | init ()=0 |
virtual bool | resize (const unsigned int width, const unsigned int height)=0 |
virtual void | refresh ()=0 |
virtual void | prepareRendering ()=0 |
virtual void | setupStereo (float, float) |
virtual bool | doNotResize () const =0 |
Definition at line 226 of file renderTarget.h.
|
inlinevirtual |
Definition at line 230 of file renderTarget.h.
|
pure virtual |
Returns true if the window should not be resized.
Implemented in BALL::VIEW::TRenderWindow< taPixelDatatype >.
|
pure virtual |
Returns a buffer where the image data can be stored in the format specified in the constructor. The buffer will remain valid until update() is called with that buffer. Each call to getBuffer() creates a new FrameBuffer.
Exception::NoBufferAvailable | if no new FrameBuffer can be created for this RenderTarget (e.g. if the RenderTarget supports only a single buffer at a time) |
Implemented in BALL::VIEW::TRenderWindow< taPixelDatatype >.
|
pure virtual |
Implemented in BALL::VIEW::TRenderWindow< taPixelDatatype >.
|
pure virtual |
Initialization routine.
Implemented in BALL::VIEW::GLRenderWindow, and BALL::VIEW::TRenderWindow< taPixelDatatype >.
|
pure virtual |
Implemented in BALL::VIEW::TRenderWindow< taPixelDatatype >, and BALL::VIEW::GLOffscreenTarget.
|
pure virtual |
Refresh the contents of the target buffer.
Implemented in BALL::VIEW::TRenderWindow< taPixelDatatype >, BALL::VIEW::GLRenderWindow, and BALL::VIEW::GLOffscreenTarget.
|
pure virtual |
Notify the RenderTarget that the buffer has changed. The Renderer has to call this once it has filled the buffer (i.e. after each frame). This may cause the buffer to become invalid. Therefore, the Renderer should get a new buffer for the next frame (with getBuffer()).
Implemented in BALL::VIEW::TRenderWindow< taPixelDatatype >.
|
pure virtual |
Resize method.
Implemented in BALL::VIEW::TRenderWindow< taPixelDatatype >, BALL::VIEW::GLRenderWindow, and BALL::VIEW::GLOffscreenTarget.
Sets this render target as a part of a stereo setup.
eye_separation denotes the distance along the right vector used by this "eye".
Reimplemented in BALL::VIEW::GLRenderWindow.
Definition at line 272 of file renderTarget.h.