Table of Contents

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

LogicalSize LogicalSize
Display NativePointer
Surface NativePointer

Properties

Display

Your wl_display*.

public required NativePointer Display { get; init; }

Property Value

NativePointer

LogicalSize

public required LogicalSize LogicalSize { get; init; }

Property Value

LogicalSize

Surface

Your wl_surface*, on display.

public required NativePointer Surface { get; init; }

Property Value

NativePointer