Type Alias SceneTextureImageSource

SceneTextureImageSource:
    | HTMLImageElement
    | HTMLCanvasElement
    | ImageBitmap
    | OffscreenCanvas

Runtime-decoded image source accepted as SceneTextureParams.image. These are the four object forms WebGL2's texSubImage2D accepts directly, so the renderer can hand them straight to the GPU without an intermediate decode.