Skip to main content

make_gl

Function make_gl 

pub fn make_gl<'a>(
    interface: impl Into<RCHandle<GrGLInterface>>,
    options: impl Into<Option<&'a ContextOptions>>,
) -> Option<RCHandle<GrDirectContext>>
Expand description

Creates a DirectContext for a backend context. The gl::Interface must be non-null.