Skip to content

Commit

Permalink
WebGLAttributes: Support onUploadCallback().
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 committed Sep 8, 2020
1 parent 1268b10 commit 3092ff9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/jsm/renderers/webgpu/WebGPUAttributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ class WebGPUAttributes {

buffer.unmap();

attribute.onUploadCallback();

return {
version: attribute.version,
buffer: buffer
Expand Down

0 comments on commit 3092ff9

Please sign in to comment.