From 4d95e3aa3036b74e7a38eeceffda4198b8aa78e6 Mon Sep 17 00:00:00 2001 From: Nicola Papale Date: Sun, 16 Apr 2023 12:44:00 +0200 Subject: [PATCH] Fix get_vertex_buffer_data doc --- crates/bevy_render/src/mesh/mesh/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_render/src/mesh/mesh/mod.rs b/crates/bevy_render/src/mesh/mesh/mod.rs index 6e407510f280d..3afe4c7bcd0e2 100644 --- a/crates/bevy_render/src/mesh/mesh/mod.rs +++ b/crates/bevy_render/src/mesh/mesh/mod.rs @@ -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