Checks if this type is supported on the current platform.
Sets the currently bound texture to data
.
data
can be either an ImageElement
, a CanvasElement
, a VideoElement
, or an ImageData
object.
To use texImage2d
with a TypedData object, use texImage2dTyped
.
Sets the currently bound texture to data
.
Updates a sub-rectangle of the currently bound texture to data
.
data
can be either an ImageElement
, a CanvasElement
, a VideoElement
, or an ImageData
object.
To use texSubImage2d
with a TypedData object, use texSubImage2dTyped
.
Updates a sub-rectangle of the currently bound texture to data
.