[][src]Function egls::apis::query_api

pub fn query_api() -> EGLenum

Query the current rendering API.

eglQueryAPI returns the value of the current rendering API for EGL in the thread it is called from. The current rendering API is set by eglBindAPI, and affects the behavior of other EGL commands. The value returned will be one of the valid api parameters to eglBindAPI, or EGL_NONE.