Browse Source

Example webgpu_instance_uniform: generate -> construct (#26336)

sunag 2 năm trước cách đây
mục cha
commit
406ded42ac
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      examples/webgpu_instance_uniform.html

+ 2 - 2
examples/webgpu_instance_uniform.html

@@ -60,9 +60,9 @@
 
 				}
 
-				generate( builder, output ) {
+				construct( /*builder*/ ) {
 
-					return this.uniformNode.build( builder, output );
+					return this.uniformNode;
 
 				}