MCPcopy Create free account
hub / github.com/17cupsofcoffee/nova / gl

Method gl

src/graphics.rs:242–244  ·  view source on GitHub ↗

Get the raw OpenGL context. # Safety You have full access to the raw OpenGL context, so you can do anything you want with it.

(&self)

Source from the content-addressed store, hash-verified

240 ///
241 /// You have full access to the raw OpenGL context, so you can do anything you want with it.
242 pub unsafe fn gl(&self) -> &Arc<Context> {
243 &self.state.gl
244 }
245
246 /// Rebind everything to the current state.
247 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected