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
WidthuintHeightuintStrideuintThe bytes from the start of one row to the start of the next.
ByteLengthulong
Remarks
See mln_texture_image_info in the C API reference.
Properties
ByteLength
public ulong ByteLength { get; init; }
Property Value
Height
public uint Height { get; init; }
Property Value
Stride
The bytes from the start of one row to the start of the next.
public uint Stride { get; init; }
Property Value
Width
public uint Width { get; init; }