PixelLightAPI
.
|
Abstract surface painter base class. More...
#include <SurfacePainter.h>
Protected Member Functions | |
SurfacePainter (const SurfacePainter &cSource) | |
Returns the owner renderer. | |
PLRENDERER_API | SurfacePainter (Renderer &cRenderer) |
Constructor. | |
virtual PLRENDERER_API | ~SurfacePainter () |
Destructor. | |
virtual PLRENDERER_API bool | OnPaintBegin (Surface &cSurface) |
Is called when the owner surface is paint process begins. | |
virtual void | OnPaint (Surface &cSurface)=0 |
Is called when the owner surface is painted. | |
virtual PLRENDERER_API void | OnPaintEnd (Surface &cSurface) |
Is called when the owner surface is paint process ends. |
Abstract surface painter base class.
PLRenderer::SurfacePainter::SurfacePainter | ( | const SurfacePainter & | cSource | ) | [protected] |
Returns the owner renderer.
Copy constructor (not implemented!)
[in] | cSource | Source to copy from |
PLRENDERER_API PLRenderer::SurfacePainter::SurfacePainter | ( | Renderer & | cRenderer | ) | [protected] |
Constructor.
[in] | cRenderer | Renderer to use |
virtual PLRENDERER_API PLRenderer::SurfacePainter::~SurfacePainter | ( | ) | [protected, virtual] |
Destructor.
virtual PLRENDERER_API bool PLRenderer::SurfacePainter::OnPaintBegin | ( | Surface & | cSurface | ) | [protected, virtual] |
Is called when the owner surface is paint process begins.
[in] | cSurface | Surface we're painting on |
virtual void PLRenderer::SurfacePainter::OnPaint | ( | Surface & | cSurface | ) | [protected, pure virtual] |
Is called when the owner surface is painted.
[in] | cSurface | Surface we're painting on |
Implemented in PLScene::SPScene.
virtual PLRENDERER_API void PLRenderer::SurfacePainter::OnPaintEnd | ( | Surface & | cSurface | ) | [protected, virtual] |
Is called when the owner surface is paint process ends.
[in] | cSurface | Surface we're painting on |
|