Interface IWindowsSurfaceSource
Namespace: VelloSharp.Windows
Assembly: VelloSharp.Windows.Core.dll
public interface IWindowsSurfaceSource
Properties
DiagnosticsLabel
string? DiagnosticsLabel { get; }
Property Value
Methods
GetSurfaceDescriptor()
WindowsSurfaceDescriptor GetSurfaceDescriptor()
Returns
GetSurfaceSize()
WindowsSurfaceSize GetSurfaceSize()
Returns
OnDeviceLost(string?)
void OnDeviceLost(string? reason)
Parameters
reason
string?
OnSwapChainCreated(WindowsSwapChainSurface)
void OnSwapChainCreated(WindowsSwapChainSurface surface)
Parameters
surface
WindowsSwapChainSurface
OnSwapChainDestroyed()
void OnSwapChainDestroyed()
OnSwapChainResized(WindowsSwapChainSurface, WindowsSurfaceSize)
void OnSwapChainResized(WindowsSwapChainSurface surface, WindowsSurfaceSize size)
Parameters
surface
WindowsSwapChainSurface
size
WindowsSurfaceSize