DmabufFormats.contains

Returns whether a given format is contained in formats.

class DmabufFormats
bool
contains
(
uint fourcc
,
ulong modifier
)

Parameters

fourcc uint

a format code

modifier ulong

a format modifier

Return Value

Type: bool

TRUE if the format specified by the arguments is part of formats