LumaCoefficients

Implements IEquatable<T>

Declaration

[Serializable]
public struct LumaCoefficients

Description

A tuple of luma coefficients that are used to calculate the luma of a color under different signal encodings.

Properties

RThe luma coefficient for the red channel.
GThe luma coefficient for the green channel.
BThe luma coefficient for the blue channel.
Item[int]Gets or sets the coefficient at the specified index.

Constructors

LumaCoefficientsCreates new luma coefficients with the given values.

Methods

EqualsDetermines if the luma coefficients are equal to another.
GetHashCodeReturns the hash code of the luma coefficients.
ToStringConverts the luma coefficients to a string.

Operators

Equality
Inequality