Skip to content

@ralphschuler.webgl shader factory.<internal>.ImageBitmapRenderingContext

github-actions edited this page Nov 26, 2023 · 1 revision

Interface: ImageBitmapRenderingContext

@ralphschuler/webgl-shader-factory.<internal>.ImageBitmapRenderingContext

MDN Reference

Table of contents

Properties

Methods

Properties

canvas

Readonly canvas: OffscreenCanvas | HTMLCanvasElement

Returns the canvas element that the context is bound to.

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14229

Methods

transferFromImageBitmap

transferFromImageBitmap(bitmap): void

Transfers the underlying bitmap data from imageBitmap to context, and the bitmap becomes the contents of the canvas element to which context is bound.

MDN Reference

Parameters

Name Type
bitmap null | ImageBitmap

Returns

void

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14235

Typescript Libraries

Modules

Namespaces

Clone this wiki locally