Struct WindowsSurfaceDescriptor
Namespace: VelloSharp.Windows
Assembly: VelloSharp.Windows.Core.dll
public readonly struct WindowsSurfaceDescriptor
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
WindowsSurfaceDescriptor(WindowsSurfaceKind, nint, nint)
public WindowsSurfaceDescriptor(WindowsSurfaceKind kind, nint primaryHandle, nint secondaryHandle = 0)
Parameters
kind
WindowsSurfaceKind
primaryHandle
nint
secondaryHandle
nint
Properties
IsEmpty
public bool IsEmpty { get; }
Property Value
Kind
public WindowsSurfaceKind Kind { get; }
Property Value
PrimaryHandle
public nint PrimaryHandle { get; }
Property Value
SecondaryHandle
public nint SecondaryHandle { get; }
Property Value
Methods
FromCoreWindow(nint)
public static WindowsSurfaceDescriptor FromCoreWindow(nint coreWindow)
Parameters
coreWindow
nint
Returns
FromHwnd(nint, nint)
public static WindowsSurfaceDescriptor FromHwnd(nint hwnd, nint hinstance = 0)
Parameters
hwnd
nint
hinstance
nint
Returns
FromSwapChainPanel(nint)
public static WindowsSurfaceDescriptor FromSwapChainPanel(nint panel)
Parameters
panel
nint