Struct WaylandSurfaceDescriptor
- Namespace
- Maplibre.NativeFfi
- Assembly
- Maplibre.NativeFfi.dll
A Wayland surface to present to, for
MapHandle.AttachWaylandSurface().
public readonly record struct WaylandSurfaceDescriptor : IEquatable<WaylandSurfaceDescriptor>
- Implements
- Inherited Members
Remarks
See mln_wayland_surface_descriptor in the C API reference.
Constructors
WaylandSurfaceDescriptor(LogicalSize, NativePointer, NativePointer)
[SetsRequiredMembers]
public WaylandSurfaceDescriptor(LogicalSize LogicalSize, NativePointer Display, NativePointer Surface)
Parameters
LogicalSizeLogicalSizeDisplayNativePointerSurfaceNativePointer
Properties
Display
Your wl_display*.
public required NativePointer Display { get; init; }
Property Value
LogicalSize
public required LogicalSize LogicalSize { get; init; }
Property Value
Surface
Your wl_surface*, on display.
public required NativePointer Surface { get; init; }