g3n / engine

Go 3D Game Engine (http://g3n.rocks)
https://discord.gg/NfaeVr8zDg
BSD 2-Clause "Simplified" License
2.74k stars 292 forks source link

Texture update called externally #306

Open dcam0050 opened 4 months ago

dcam0050 commented 4 months ago

Addition of functions to access updateData inside of texture2D to enable external update of texture data without setting data through function but only calling updateData to trigger re-render

danaugrs commented 4 months ago

Hi! I'm happy to merge this if you revert your last commit that renames imports (https://github.com/g3n/engine/pull/306/commits/153c56e678c6996bb048988db8fab7332e320397).