Grx.Frame.mode_get_bpp
function mode_get_bpp(mode: Grx.FrameMode): Number(gint) {
// Gjs wrapper for grx_frame_mode_get_bpp()
}
Gets the color depth of the frame mode in bits per pixel.
- mode
- Returns
the color depth or -1 if the frame mode was not valid