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