This repository has been archived on 2023-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
gwen-dotnet/Gwen/Renderer/ICacheToTexture.cs
Gered 10e057953e initial commit
Contains changes from "gwen-dotnet" removing dependancies on Windows,
which ultimately means certain features (e.g. file load/save dialogs)
do not work. Those classes still exist, but the code has been commented
out.
2013-03-28 18:47:01 -04:00

37 lines
1.1 KiB
C#

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