pub fn init_from_attributes_with_gl_attr<R>(
attributes: WindowAttributes,
gl_attributes: GlAttributes,
) -> Result<(WinitGraphicsBackend<R>, WinitEventLoop), Error>Available on crate feature
backend_winit only.Expand description
Create a new WinitGraphicsBackend, which implements the Renderer
trait, from a given WindowAttributes struct, as well as given
GlAttributes for further customization of the rendering pipeline and a
corresponding WinitEventLoop.