pex-context icon indicating copy to clipboard operation
pex-context copied to clipboard

updateTexture2DArray throws when changing flipY

Open vorg opened this issue 4 months ago • 3 comments

In nodes when clicking toggle flipY I get the following errors

Image

vorg avatar Aug 05 '25 09:08 vorg

They're created with gl.texStorage3D

Once a texture is specified with this command, the format and dimensions of all levels become immutable unless it is a proxy texture. The contents of the image may still be modified, however, its storage requirements may not change. Such a texture is referred to as an immutable-format texture.

dmnsgn avatar Aug 05 '25 09:08 dmnsgn

So unfortunately would have to be disposed and recreated on flip?

vorg avatar Aug 05 '25 09:08 vorg

I think so yes.

dmnsgn avatar Aug 05 '25 09:08 dmnsgn