28 #ifndef _CEGUIRenderCache_h_
29 #define _CEGUIRenderCache_h_
31 #include "CEGUIVector.h"
32 #include "CEGUIRect.h"
33 #include "CEGUIImage.h"
34 #include "CEGUIFont.h"
39 # pragma warning(push)
40 # pragma warning(disable : 4251)
86 bool hasCachedImagery()
const;
104 void render(
const Point& basePos,
float baseZ,
const Rect& clipper);
110 void clearCachedImagery();
133 void cacheImage(
const Image& image,
const Rect& destArea,
float zOffset,
const ColourRect& cols,
const Rect* clipper = 0,
bool clipToDisplay =
false);
171 const Image* source_image;
176 bool usingCustomClipper;
193 bool usingCustomClipper;
197 typedef std::vector<ImageInfo> ImageryList;
198 typedef std::vector<TextInfo> TextList;
200 ImageryList d_cachedImages;
201 TextList d_cachedTexts;
207 #if defined(_MSC_VER)
208 # pragma warning(pop)
212 #endif // end of guard _CEGUIRenderCache_h_