Table of Contents

Struct TextureImageInfo

Namespace
Maplibre.NativeFfi
Assembly
Maplibre.NativeFfi.dll

The layout of the pixels that RenderSessionHandle.ReadTextureAsync() reads.

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

Remarks

See mln_texture_image_info in the C API reference.

Constructors

TextureImageInfo(uint, uint, uint, ulong)

The layout of the pixels that RenderSessionHandle.ReadTextureAsync() reads.

public TextureImageInfo(uint Width, uint Height, uint Stride, ulong ByteLength)

Parameters

Width uint
Height uint
Stride uint

The bytes from the start of one row to the start of the next.

ByteLength ulong

Remarks

See mln_texture_image_info in the C API reference.

Properties

ByteLength

public ulong ByteLength { get; init; }

Property Value

ulong

Height

public uint Height { get; init; }

Property Value

uint

Stride

The bytes from the start of one row to the start of the next.

public uint Stride { get; init; }

Property Value

uint

Width

public uint Width { get; init; }

Property Value

uint