Function canvas_traits::webgl::webgl_channel
source ยท pub fn webgl_channel<T>() -> Option<(WebGLSender<T>, WebGLReceiver<T>)>where
T: for<'de> Deserialize<'de> + Serialize,
Expand description
Helper function that creates a WebGL channel (WebGLSender, WebGLReceiver) to be used in WebGLCommands.