Rgb48 Struct
An opaque pixel with 16-bit red, green and blue components, stored in native endianness.
public struct Rgb48 : IEquatable<Rgb48>Remarks
It holds a 16-bit color image without transparency in three quarters of the memory of Rgba64.
- Implements
Constructors
| Name | Description |
|---|---|
| Rgb48(ushort, ushort, ushort) | Initializes a new instance of the Rgb48 struct. |
Rgb48(ushort, ushort, ushort)
Rgb48.csMethods
| Name | Description |
|---|---|
| Equals(Rgb48) | Indicates whether the current object is equal to another object of the same type. |
| Equals(object?) | Indicates whether this instance and a specified object are equal. |
| GetHashCode() | Returns the hash code for this instance. |
| ToString() | Returns the fully qualified type name of this instance. |
GetHashCode()
Rgb48.csToString()
Rgb48.csOperators
| Name | Description |
|---|---|
| operator ==(Rgb48, Rgb48) | Compares two pixels for equality. |
| operator !=(Rgb48, Rgb48) | Compares two pixels for inequality. |
operator ==(Rgb48, Rgb48)
Rgb48.csoperator !=(Rgb48, Rgb48)
Rgb48.csFields
| Name | Description |
|---|---|
| B | The blue component. |
| G | The green component. |
| R | The red component. |
B
The blue component.
public ushort BG
The green component.
public ushort GR
The red component.
public ushort R