NiklasEi / bevy_asset_loader

Bevy plugin helping with asset loading and organization
Apache License 2.0
506 stars 56 forks source link

Automate `reinterpret_stacked_2d_as_array` #221

Closed soanvig closed 4 months ago

soanvig commented 5 months ago

Would it be possible for bevy_asset_loader to call on image .reinterpret_stacked_2d_as_array with given number of layers? Or is it beyond the scope? I'm talking about this, and asking because it is very tedious to do manually in the system. I would imagine an attribute macro for that.

I could help with PR