Cargo Features
BrowserVideoCapture has no features set by default.
[dependencies]
browser-video-capture = { version = "0.1.0", features = ["offscreen", "html", "2d", "gl", "webgl", "webgl2", "offscreen-2d", "offscreen-webgl", "offscreen-webgl2", "html-2d", "html-webgl", "html-webgl2", "image"] }
- offscreen offscreen-2d? offscreen-webgl? offscreen-webgl2?
-
common canvas features
Enables OffscreenCanvas of web-sys
Affects
d2::offscreen
,gl::offscreen
… - html html-2d? html-webgl? html-webgl2?
-
Enables HtmlCanvasElement of web-sys
Affects
d2::html
,gl::html
… - 2d html-2d? offscreen-2d?
-
common context features
- gl webgl? webgl2?
-
Enables WebGlBuffer, WebGlProgram, WebGlShader, WebGlTexture and WebGlUniformLocation of web-sys
- webgl html-webgl? offscreen-webgl? = gl
-
Enables WebGlRenderingContext of web-sys
- webgl2 html-webgl2? offscreen-webgl2? = gl
-
Enables WebGl2RenderingContext of web-sys
- offscreen-2d = 2d, offscreen
-
capture features
Enables OffscreenCanvasRenderingContext2d of web-sys
- offscreen-webgl = offscreen, webgl
- offscreen-webgl2 = offscreen, webgl2
- html-2d = 2d, html
-
Enables CanvasRenderingContext2d of web-sys
- html-webgl = html, webgl
- html-webgl2 = html, webgl2
- image
-
extra features
Enables image
Affects
browser-video-capture::BrowserVideoCapture.color_type
,browser-video-capture::BrowserVideoCapture.image
…