Skip to main content

Interface IWindowsSurfaceSource

Namespace: VelloSharp.Windows
Assembly: VelloSharp.Windows.Core.dll

public interface IWindowsSurfaceSource

Properties​

DiagnosticsLabel​

string? DiagnosticsLabel { get; }

Property Value​

string?

Methods​

GetSurfaceDescriptor()​

WindowsSurfaceDescriptor GetSurfaceDescriptor()

Returns​

WindowsSurfaceDescriptor

GetSurfaceSize()​

WindowsSurfaceSize GetSurfaceSize()

Returns​

WindowsSurfaceSize

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