You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a use case where I would like to store a Quantity in a struct that gets sent to a GPU shader, which means it needs to be (de)serializable to/from a byte slice. To make cases like this easier, could a bytemuck feature be added? This would add #[cfg_attr(feature = "bytemuck", derive(bytemuck::Zeroable, bytemuck::Pod)] to Quantity.
The text was updated successfully, but these errors were encountered:
I have a use case where I would like to store a
Quantity
in a struct that gets sent to a GPU shader, which means it needs to be (de)serializable to/from a byte slice. To make cases like this easier, could abytemuck
feature be added? This would add#[cfg_attr(feature = "bytemuck", derive(bytemuck::Zeroable, bytemuck::Pod)]
toQuantity
.The text was updated successfully, but these errors were encountered: