25 #ifndef __glfRenderTarget_hh__
26 #define __glfRenderTarget_hh__
28 #include <Base/Image/ImageBase.hh>
29 #include "glfCommon.hh"
46 void ClearColorBuffer(
float red = 0.0f,
float green = 0.0f,
float blue = 0.0f,
float alpha = 0.0f);
52 void ClearDepthBuffer(
float depth = 1.0f);
58 void ClearAccumBuffer(
float red = 0.0f,
float green = 0.0f,
float blue = 0.0f,
float alpha = 0.0f);
64 void ClearStencilBuffer(
int s = 0);
75 void ReadBuffer(
BIAS::ImageBase& image, BufferType bufferType,
int x,
int y,
int width,
int height);
81 virtual void Bind()
const = 0;
86 #endif // __glfRenderTarget_hh__
virtual ~glfRenderTarget()
Interface for render targets.
This is the base class for images in BIAS.