mirror of
https://github.com/bevyengine/bevy.git
synced 2026-05-06 06:06:42 -04:00
6c2aeffbcc
# Objective My ecosystem crate, bevy_mod_outline, renders the outlines of morphed meshes while reusing the data already bound for this purpose by the regular mesh rendering pipeline. While porting the crate to _0.19-dev_, I found that the new support by #23023 for providing the morph targets in storage buffers requires me to know the morph descriptor index in order to use the prepared data, but this field is not accessible outside of the bevy_pbr crate. ## Solution - Change `MorphIndices::morph_descriptor_index()` from `pub(crate)` to `pub`. ## Testing - Check that Bevy compiles and that the function is accessible from a dependent crate.