DmabufFormats.getFormat

Gets the fourcc code and modifier for a format that is contained in formats.

class DmabufFormats
void
getFormat
(
size_t idx
,
out uint fourcc
,
out ulong modifier
)

Parameters

idx size_t

the index of the format to return

fourcc uint

return location for the format code

modifier ulong

return location for the format modifier