DmabufFormats.getFormat

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

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

Parameters

idxthe index of the format to return
fourccreturn location for the format code
modifierreturn location for the format modifier