KTX2Loader: Cache loaded module promise
Instead of creating a new transcoder instance every time we need to decode a texture, cache the promise and reuse the module. Fixes #19793
Showing
想要评论请 注册 或 登录
Instead of creating a new transcoder instance every time we need to decode a texture, cache the promise and reuse the module. Fixes #19793