Splitting big textures to upload over multiple frames

Some of our big textures (gif spritesheets) take ~200ms to upload to the GPU (or at least I think that’s what the jank is). Has anyone got some code to upload large images in multiple chunks? Composite the texture in multiple upload stages? So that no upload takes longer than 10ms?

Oh sweet looks like I can use engine.updateTextureData(...)

1 Like