Build a GPU texture from a decoded mesh texture payload.
The caller owns disposal. For the bitmap arm the returned texture holds the
ImageBitmap, so disposing the texture is what releases it. The compressed
arm returns the decoder-owned texture instance after applying mesh sampling
state; applyMeshTexture transfers that instance to geometry-owned disposal.
Build a GPU texture from a decoded mesh texture payload.
The caller owns disposal. For the
bitmaparm the returned texture holds theImageBitmap, so disposing the texture is what releases it. Thecompressedarm returns the decoder-owned texture instance after applying mesh sampling state;applyMeshTexturetransfers that instance to geometry-owned disposal.