Skip to content

Commit

Permalink
Fix get_vertex_buffer_data doc (#8400)
Browse files Browse the repository at this point in the history
# Objective

- Fixes #8399

The documentation was out of date and misleading since #3959.
  • Loading branch information
nicopap authored Apr 17, 2023
1 parent defc653 commit ebc6446
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_render/src/mesh/mesh/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ impl Mesh {
}

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

0 comments on commit ebc6446

Please sign in to comment.