Skip to content

Commit ebc6446

Browse files
authored
Fix get_vertex_buffer_data doc (#8400)
# Objective - Fixes #8399 The documentation was out of date and misleading since #3959.
1 parent defc653 commit ebc6446

File tree

1 file changed

+1
-1
lines changed
  • crates/bevy_render/src/mesh/mesh

1 file changed

+1
-1
lines changed

crates/bevy_render/src/mesh/mesh/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ impl Mesh {
260260
}
261261

262262
/// Computes and returns the vertex data of the mesh as bytes.
263-
/// Therefore the attributes are located in alphabetical order.
263+
/// Therefore the attributes are located in the order of their [`MeshVertexAttribute::id`].
264264
/// This is used to transform the vertex data into a GPU friendly format.
265265
///
266266
/// # Panics

0 commit comments

Comments
 (0)