namespace Gwen.Renderer { public interface ICacheToTexture { void Initialize(); void ShutDown(); /// /// Called to set the target up for rendering. /// /// Control to be rendered. void SetupCacheTexture(Control.Base control); /// /// Called when cached rendering is done. /// /// Control to be rendered. void FinishCacheTexture(Control.Base control); /// /// Called when gwen wants to draw the cached version of the control. /// /// Control to be rendered. void DrawCachedControlTexture(Control.Base control); /// /// Called to actually create a cached texture. /// /// Control to be rendered. void CreateControlCacheTexture(Control.Base control); void UpdateControlCacheTexture(Control.Base control); void SetRenderer(Base renderer); } }