* add support for meshPhongNodeMaterial * support texture onUpdate callback --------- Co-authored-by: aardgoose <[email protected]>
@@ -243,6 +243,8 @@ class WebGPUTextureUtils {
textureData.version = texture.version;
+ if ( texture.onUpdate ) texture.onUpdate( texture );
+
}
async copyTextureToBuffer( texture, x, y, width, height ) {