find

fun find(type: DriverTypeGL, majorVersion: Int, minorVersion: Int): DriverVersionGL?(source)

Finds and returns a DriverVersionGL constant that matches the specified driver type, major version, and minor version.

Return

The matching DriverVersionGL constant, or null if no match is found.

Parameters

type

The type of driver (e.g., GL or GLES).

majorVersion

The major version of the driver to find.

minorVersion

The minor version of the driver to find.