Table of Contents

Struct WaylandSurfaceReplacement

Namespace
Maplibre.NativeFfi
Assembly
Maplibre.NativeFfi.dll

A new Wayland surface for RenderSessionHandle.SetWaylandSurfaceTargetAsync().

public readonly record struct WaylandSurfaceReplacement : IEquatable<WaylandSurfaceReplacement>
Implements
Inherited Members

Remarks

See mln_wayland_surface_replacement in the C API reference.

Constructors

WaylandSurfaceReplacement(LogicalSize, NativePointer)

[SetsRequiredMembers]
public WaylandSurfaceReplacement(LogicalSize LogicalSize, NativePointer Surface)

Parameters

LogicalSize LogicalSize
Surface NativePointer

Properties

LogicalSize

public required LogicalSize LogicalSize { get; init; }

Property Value

LogicalSize

Surface

Your wl_surface*, on the display that the session attached with.

public required NativePointer Surface { get; init; }

Property Value

NativePointer