Table of Contents

Struct TextureReadbackResult

Namespace
Maplibre.NativeFfi
Assembly
Maplibre.NativeFfi.dll

The pixels that RenderSessionHandle.ReadTextureAsync() reads.

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

Remarks

See mln_texture_readback_result in the C API reference.

Constructors

TextureReadbackResult(ImmutableArray<byte>, TextureImageInfo)

public TextureReadbackResult(ImmutableArray<byte> Data, TextureImageInfo Info)

Parameters

Data ImmutableArray<byte>
Info TextureImageInfo

Properties

Data

Premultiplied RGBA pixels with 8 bits per channel, in rows from top to bottom.

public ImmutableArray<byte> Data { get; init; }

Property Value

ImmutableArray<byte>

Info

public TextureImageInfo Info { get; init; }

Property Value

TextureImageInfo