pub fn check_format_supported(buffer_format: BufferFormat) -> Result<(), Error>
Expand description

Returns an error if the buffer format is not enabled.