Skip to content

Commit

Permalink
docs-emphazise-difference-batched-instanced-meshes (#29803)
Browse files Browse the repository at this point in the history
Co-authored-by: Samuel Rigaud <[email protected]>
  • Loading branch information
s-rigaud and Samuel Rigaud authored Nov 4, 2024
1 parent 728ebc1 commit 482697c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/api/en/objects/BatchedMesh.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ <h1>[name]</h1>
<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/>
Expand Down Expand Up @@ -167,7 +167,7 @@ <h3>
<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] )
Expand All @@ -181,7 +181,7 @@ <h3>
<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>
Expand Down Expand Up @@ -313,7 +313,7 @@ <h3>
</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 />
Expand Down

0 comments on commit 482697c

Please sign in to comment.