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:
parent
defc653528
commit
ebc6446789
@ -260,7 +260,7 @@ impl Mesh {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Computes and returns the vertex data of the mesh as bytes.
|
/// 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.
|
/// This is used to transform the vertex data into a GPU friendly format.
|
||||||
///
|
///
|
||||||
/// # Panics
|
/// # Panics
|
||||||
|
Loading…
Reference in New Issue
Block a user