Skip to content

SprFormat.ForBitsPerPixel Method

Definition

Gets the singleton for the specified bit depth.

public static SprFormat ForBitsPerPixel(int bitsPerPixel);

View source

Parameters

Name Type Description
bitsPerPixel Int32 The explicit interpretation: 4, 8 bits per pixel.

Returns

SprFormat

The selected format.