GLContext.getApi

Gets the API currently in use.

If the renderer has not been realized yet, 0 is returned.

Returns

the currently used API