Trait rich_sdl2_rust::gl_context::ContextSwitchExt
source · pub trait ContextSwitchExt<'window> {
// Required method
fn set_context<'context: 'window>(
&'window self,
context: GlContext<'context>
) -> Result<()>;
}
Expand description
An extension for Window
to set OpenGL context.