Skip to content

Commit f160d03

Browse files
authored
Improved doc on BufferGeometry.dispose() (#24616)
* Improved doc on BufferGeometry.dispose() * more compact phrasing
1 parent f70ead9 commit f160d03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/api/en/core/BufferGeometry.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,8 @@ <h3>[method:BufferAttribute deleteAttribute]( [param:String name] )</h3>
221221

222222
<h3>[method:undefined dispose]()</h3>
223223
<p>
224-
Disposes the object from memory. <br />
225-
You need to call this when you want the BufferGeometry removed while the application is running.
224+
When a BufferGeometry is rendered, it allocates WebGL resources which can only be disposed of by calling this method.
225+
For more details read: [link:https://threejs.org/docs/index.html#manual/en/introduction/How-to-dispose-of-objects How to dispose of objects].
226226
</p>
227227

228228
<h3>[method:BufferAttribute getAttribute]( [param:String name] )</h3>

0 commit comments

Comments
 (0)