mirror of
https://github.com/bevyengine/bevy
synced 2024-11-26 14:40:19 +00:00
e36c9b6cf0
# Objective - `Mesh::ATTRIBUTE_COLOR` expects colors as `u32`s but there is no function for easy conversion. - See https://github.com/bevyengine/bevy/pull/4037#pullrequestreview-894448677 ## Solution - Added `Color::as_rgba_u32` and `Color::as_linear_rgba_u32` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |