diff --git a/docs/api/en/objects/BatchedMesh.html b/docs/api/en/objects/BatchedMesh.html index bc69801d7f2c68..342a254553eef9 100644 --- a/docs/api/en/objects/BatchedMesh.html +++ b/docs/api/en/objects/BatchedMesh.html @@ -301,7 +301,6 @@

Calling this will change all instances that are rendering that geometry.

-

[method:this optimize]()

@@ -309,6 +308,29 @@

Repacks the sub geometries in [name] to remove any unused space remaining from previously deleted geometry, freeing up space to add new geometry.

+

+ [method:this setGeometrySize]( maxVertexCount, maxIndexCount ) +

+

+ Resizes the available space in [name]'s vertex and index buffer attributes to the provided sizes. If the provided arguments shrink the geometry buffers + but there is not enough unused space at the end of the geometry attributes then an error is thrown. +

+

+ [page:Integer maxVertexCount] - the max number of vertices to be used by all unique geometries to resize to.
+ [page:Integer maxIndexCount] - the max number of indices to be used by all unique geometries to resize to.
+

+ +

+ [method:this setInstanceCount]( maxInstanceCount ) +

+

+ Resizes the necessary buffers to support the provided number of instances. If the provided arguments shrink the number of instances but there are not enough + unused ids at the end of the list then an error is thrown. +

+

+ [page:Integer maxInstanceCount] - the max number of individual instances that can be added and rendered by the [name].
+

+