Explorar o código

WebGLAttributes: Support onUploadCallback().

Mugen87 %!s(int64=4) %!d(string=hai) anos
pai
achega
3092ff9625
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      examples/jsm/renderers/webgpu/WebGPUAttributes.js

+ 2 - 0
examples/jsm/renderers/webgpu/WebGPUAttributes.js

@@ -64,6 +64,8 @@ class WebGPUAttributes {
 
 		buffer.unmap();
 
+		attribute.onUploadCallback();
+
 		return {
 			version: attribute.version,
 			buffer: buffer