-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Discard attribute typed arrays for buffered geometries that are not m…
…odified after initial rendering (#9512) * add setDiscardBuffer method to BufferGeometry * added discard support to BufferAttribute * add mechanism for discard of BufferAttribute TypedArrays * use more elegant method for creating dummy typed array. * fix typo * Update BufferGeometry.js fix brain fade * rework to use callbacks (phase 1) * rework part 2 * remove build file * support setting onUploadCallback from Geometry * remove repeated calculation from renderer * remove now redundant getter * remove geoemtry interface * document discard mechanism. * merge fixes * restore return.this * drop unneeded call() * rename discard() method to disposeArray()
- Loading branch information
Showing
3 changed files
with
30 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters