Fix get_vertex_buffer_data doc (#8400)

# Objective

- Fixes #8399

The documentation was out of date and misleading since #3959.
This commit is contained in:
Nicola Papale 2023-04-17 18:12:12 +02:00 committed by GitHub
parent defc653528
commit ebc6446789
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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