Function get_opaque

Source
pub const fn get_opaque(fourcc: Fourcc) -> Option<Fourcc>
Expand description

Returns the opaque alternative of the specified format.

If the format has an alpha channel, this may return the corresponding opaque format.

Unknown formats will always return None.