[][src]Function egls::apis::bind_api

pub fn bind_api(api: EGLenum) -> Result<bool, Error>

Set the current rendering API.

Parameters

  • api - Specifies the client API to bind, one of OPENGL_API, OPENGL_ES_API, or OPENVG_API.