Class TextureRenderer

A renderer for a THREE.Texture.

Attach an instance of a BitmapGenerator with a attach method.

Hierarchy

Constructors

Properties

bitmap: ImageBitmap
bitmapHandler: ((event: CustomEvent<any>) => void)

Type declaration

    • (event: CustomEvent<any>): void
    • Parameters

      • event: CustomEvent<any>

      Returns void

canvas: OffscreenCanvas
ctx: OffscreenCanvasRenderingContext2D
generator: BitmapGenerator

The attached bitmap generator.

isAnimating: boolean

Animation state.

readyHandler: (() => void)

Type declaration

    • (): void
    • Returns void

target: Texture

The target Texture.

Methods