mirror of
https://github.com/bevyengine/bevy
synced 2024-12-23 11:33:06 +00:00
deb9f23667
Implements `Byteable` and `RenderResource` for any array containing `Byteable` elements. This allows `RenderResources` to be implemented on structs with arbitrarily-sized arrays, among other things: ```rust #[derive(RenderResources, TypeUuid)] #[uuid = "2733ff34-8f95-459f-bf04-3274e686ac5f"] struct Foo { buffer: [i32; 256], } ``` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |