mirror of
https://github.com/bevyengine/bevy
synced 2025-01-10 12:18:58 +00:00
21e1893c4f
# 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. |
||
---|---|---|
.. | ||
bind_group.rs | ||
bind_group_layout.rs | ||
buffer.rs | ||
buffer_vec.rs | ||
mod.rs | ||
pipeline.rs | ||
pipeline_cache.rs | ||
pipeline_specializer.rs | ||
resource_macros.rs | ||
shader.rs | ||
storage_buffer.rs | ||
texture.rs | ||
uniform_buffer.rs |