SprFormat.ForBitsPerPixel Method
Definition
Gets the singleton for the specified bit depth.
public static SprFormat ForBitsPerPixel(int bitsPerPixel);
Parameters
| Name | Type | Description |
|---|---|---|
bitsPerPixel |
Int32 |
The explicit interpretation: 4, 8 bits per pixel. |
Returns
The selected format.