Files
bevy/crates
Robin KAY 6c2aeffbcc Expose MorphIndices::morph_descriptor_index() as public. (#24083)
# 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.
2026-05-03 17:52:04 +00:00
..
2026-05-01 21:07:22 +00:00
2026-05-01 21:07:22 +00:00
2026-05-02 01:57:00 +00:00
2026-04-29 15:59:37 +00:00
2026-05-01 21:07:22 +00:00