Type Alias OffscreenRenderingContext

Source
pub(crate) type OffscreenRenderingContext = OffscreenRenderingContext<DomTypeHolder>;

Aliased Type§

pub(crate) enum OffscreenRenderingContext {
    OffscreenCanvasRenderingContext2D(Root<Dom<OffscreenCanvasRenderingContext2D>>),
    ImageBitmapRenderingContext(Root<Dom<ImageBitmapRenderingContext>>),
    WebGLRenderingContext(Root<Dom<WebGLRenderingContext>>),
    WebGL2RenderingContext(Root<Dom<WebGL2RenderingContext>>),
}

Variants§

§

OffscreenCanvasRenderingContext2D(Root<Dom<OffscreenCanvasRenderingContext2D>>)

§

ImageBitmapRenderingContext(Root<Dom<ImageBitmapRenderingContext>>)

§

WebGLRenderingContext(Root<Dom<WebGLRenderingContext>>)

§

WebGL2RenderingContext(Root<Dom<WebGL2RenderingContext>>)