16 bit color struct with 5 bits per channel for R, G, and B. and 1 bit for A [詳細]
Public メソッド | |
| Rgba5551 (ushort bits) | |
| constructor taking ushort data | |
| Rgba5551 (Rgba rgba) | |
| constructor taking a 32 bit color | |
| Rgba | ToRgba () |
| return the color as a 32 bit color | |
| bool | Equals (Rgba5551 c) |
| equality test | |
| override bool | Equals (Object o) |
| equality test | |
| override string | ToString () |
| get the string representation of color value | |
| override int | GetHashCode () |
| gets the hash code for this | |
Static Public メソッド | |
| static bool | operator== (Rgba5551 c1, Rgba5551 c2) |
| equality operator | |
| static bool | operator!= (Rgba5551 c1, Rgba5551 c2) |
| not equals operator | |
Public 変数 | |
| ushort | Bits |
| color data | |
16 bit color struct with 5 bits per channel for R, G, and B. and 1 bit for A
| Rgba5551 | ( | ushort | bits | ) |
constructor taking ushort data
| bits | bits to initialize with |
| bool Equals | ( | Rgba5551 | c | ) |
equality test
| c | the color to compare this to |
| override bool Equals | ( | Object | o | ) |
equality test
| o | the object to compare this to |
| override int GetHashCode | ( | ) |
gets the hash code for this
not equals operator
| c1 | color 1 |
| c2 | color 2 |
equality operator
| c1 | color 1 |
| c2 | color 2 |
| Rgba ToRgba | ( | ) |
return the color as a 32 bit color
| override string ToString | ( | ) |
get the string representation of color value
| ushort Bits |
color data