bevy/crates/bevy_render
James Liu 21e1893c4f
Remove capacity fields from all Buffer wrapper types (#8301)
# Objective
While working on #8299, I noticed that we're using a `capacity` field,
even though `wgpu::Buffer` exposes a `size` accessor that does the same
thing.

## Solution
Remove it from all buffer wrappers. Use `wgpu::Buffer::size` instead.
Default to 0 if no buffer has been allocated yet.
2023-04-04 20:12:31 +00:00
..
macros chore: Release (#7920) 2023-03-06 05:13:36 +00:00
src Remove capacity fields from all Buffer wrapper types (#8301) 2023-04-04 20:12:31 +00:00
Cargo.toml Added WebP image format support (#8220) 2023-03-28 19:53:55 +00:00