Struct luminance_glow::Context [−][src]
pub struct Context { /* fields omitted */ }
The graphics context which must be provided to create a Glow
backend
Implementations
impl Context
[src]
impl Context
[src]pub unsafe fn from_loader_function<F>(
loader_function: F,
shader_version: ShaderVersion
) -> Self where
F: FnMut(&str) -> *const c_void,
[src]
loader_function: F,
shader_version: ShaderVersion
) -> Self where
F: FnMut(&str) -> *const c_void,
Create a native context from a GL loader function
Auto Trait Implementations
impl RefUnwindSafe for Context
impl RefUnwindSafe for Context
impl UnwindSafe for Context
impl UnwindSafe for Context