Luna::Image::bits_per_pixel
usize bits_per_pixel(DDSFormat fmt)
Gets the number of bits used to represent one pixel in the specified format.
Parameters
-
in fmt
The format to check.
Return value
Returns the number of bits used to represent one pixel in the specified format.