Method ReadColor32
ReadColor32(Buffer)
Reads a color from the buffer.
Declaration
public static Color32 ReadColor32(this Buffer buffer)
Parameters
| Type | Name | Description |
|---|---|---|
| Buffer | buffer |
Returns
| Type | Description |
|---|---|
| Color32 | The color that has been read from the buffer. |
Remarks
The individual color components are expected to be stored as byte (8-bit) values.