27 #ifndef _CEGUIRenderTarget_h_
28 #define _CEGUIRenderTarget_h_
30 #include "CEGUI/Base.h"
31 #include "CEGUI/EventSet.h"
32 #include "CEGUI/EventArgs.h"
33 #include "CEGUI/Vector.h"
34 #include "CEGUI/Rect.h"
40 class CEGUIEXPORT RenderTargetEventArgs :
public EventArgs
43 RenderTargetEventArgs(RenderTarget* target):
57 class CEGUIEXPORT RenderTarget :
59 public AllocatedObject<RenderTarget>
63 static const String EventNamespace;
69 static const String EventAreaChanged;
80 virtual void draw(
const GeometryBuffer& buffer) = 0;
91 virtual void draw(
const RenderQueue& queue) = 0;
112 virtual void setArea(
const Rectf& area) = 0;
121 virtual const Rectf& getArea()
const = 0;
136 virtual bool isImageryCache()
const = 0;
147 virtual void activate() = 0;
158 virtual void deactivate() = 0;
165 virtual void unprojectPoint(
const GeometryBuffer& buff,
166 const Vector2f& p_in, Vector2f& p_out)
const = 0;
171 #endif // end of guard _CEGUIRenderTarget_h_
Main namespace for Crazy Eddie's GUI Library.
Definition: cegui/include/CEGUI/Affector.h:42