using System; using TerraFX.Interop.Windows; namespace ComputeSharp.SwapChain.Backend; /// /// A class representing a simple Win32 application. /// internal abstract class Win32Application { /// /// Initializes the current application. /// /// The handle for the window. public abstract void OnInitialize(HWND hwnd); /// /// Resizes the current application. /// public abstract void OnResize(); /// /// Updates the current application. /// /// The current time since the start of the application. public abstract void OnUpdate(TimeSpan time); }