Przeglądaj źródła

Improved doc on BufferGeometry.dispose() (#24616)

* Improved doc on BufferGeometry.dispose()

* more compact phrasing
Eran Geva 2 lat temu
rodzic
commit
f160d03a91
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      docs/api/en/core/BufferGeometry.html

+ 2 - 2
docs/api/en/core/BufferGeometry.html

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