Table of Contents

Class PremultipliedRgba8Image

Namespace
Maplibre.NativeFfi.Render
Assembly
Maplibre.NativeFfi.dll
public sealed record PremultipliedRgba8Image : IEquatable<PremultipliedRgba8Image>
Inheritance
PremultipliedRgba8Image
Implements
Inherited Members

Constructors

PremultipliedRgba8Image(byte[], TextureImageInfo)

public PremultipliedRgba8Image(byte[] Bytes, TextureImageInfo Info)

Parameters

Bytes byte[]
Info TextureImageInfo

Properties

Bytes

public byte[] Bytes { get; }

Property Value

byte[]

Info

public TextureImageInfo Info { get; }

Property Value

TextureImageInfo

Methods

Equals(PremultipliedRgba8Image?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(PremultipliedRgba8Image? other)

Parameters

other PremultipliedRgba8Image

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.