komelgman/nd2d — comment on commit 9cbad52e660800b3be028d4c779896c56bcf3d38
File:  line 0
By nulldesign:

The masks Texture3D object is created in the material and not in the Sprite2D, so disposing the texture should be managed by the material. That's why I put it there ;)