|
|
@@ -14,8 +14,8 @@
|
|
|
<p class="desc">
|
|
|
A special version of [page:Mesh] with multi draw batch rendering support. Use
|
|
|
[name] if you have to render a large number of objects with the same
|
|
|
- material but with different world transformations. The usage of [name] will
|
|
|
- help you to reduce the number of draw calls and thus improve the overall
|
|
|
+ material but with different geometries or world transformations. The usage of
|
|
|
+ [name] will help you to reduce the number of draw calls and thus improve the overall
|
|
|
rendering performance in your application.
|
|
|
|
|
|
<br/>
|
|
|
@@ -167,7 +167,7 @@
|
|
|
<p>
|
|
|
[page:Integer instanceId]: The id of an instance to get the visibility state of.
|
|
|
</p>
|
|
|
- <p>Get whether the given instance is marked as "visible" or not.</p>
|
|
|
+ <p>Get whether the given instance is marked as "visible" or not.</p>
|
|
|
|
|
|
<h3>
|
|
|
[method:Object getGeometryRangeAt]( [param:Integer geometryId], [param:Object target] )
|
|
|
@@ -181,7 +181,7 @@
|
|
|
<p>Get the range representing the subset of triangles related to the attached geometry, indicating the starting offset and count, or `null` if invalid.</p>
|
|
|
<p>Return an object of the form:</p>
|
|
|
<code>{ start: Integer, count: Integer }</code>
|
|
|
-
|
|
|
+
|
|
|
<h3>
|
|
|
[method:Integer getGeometryIdAt]( [param:Integer instanceId] )
|
|
|
</h3>
|
|
|
@@ -313,7 +313,7 @@
|
|
|
</h3>
|
|
|
<p>
|
|
|
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.
|
|
|
+ but there is not enough unused space at the end of the geometry attributes then an error is thrown.
|
|
|
</p>
|
|
|
<p>
|
|
|
[page:Integer maxVertexCount] - the max number of vertices to be used by all unique geometries to resize to.<br />
|