GL

Static GL 

Source
pub static GL: RwLock<GlFns>
Available on crate feature std only.
Expand description

A globally available set of GL functions.

Because of the RwLock wrapper, loading the functions and calling them is fully synchronized across threads.

  • Performing the loading is still unsafe (see GlFns::load).
  • Calling the functions is still unsafe too.

See the top level crate docs for a usage example.