bevy/crates/bevy_render/src/render_resource
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
..
bind_group.rs Support raw buffers in AsBindGroup macro (#7701) 2023-02-22 22:43:29 +00:00
bind_group_layout.rs Replace UUID based IDs with a atomic-counted ones (#6988) 2022-12-25 00:23:15 +00:00
buffer.rs Replace UUID based IDs with a atomic-counted ones (#6988) 2022-12-25 00:23:15 +00:00
buffer_vec.rs Directly extract joints into SkinnedMeshJoints (#6833) 2022-12-20 16:17:05 +00:00
mod.rs Add push contant config to layout (#7681) 2023-02-17 06:20:16 +00:00
pipeline.rs Add push contant config to layout (#7681) 2023-02-17 06:20:16 +00:00
pipeline_cache.rs Fix performance regression with shadow mapping (#7914) 2023-03-06 00:00:40 +00:00
pipeline_specializer.rs Changed &mut PipelineCache to &PipelineCache (#7598) 2023-02-10 11:17:18 +00:00
resource_macros.rs remove potential ub in render_resource_wrapper (#7279) 2023-02-06 17:14:00 +00:00
shader.rs Allow SPIR-V shaders to process when shader defs are present (#7772) 2023-03-19 09:26:26 +00:00
storage_buffer.rs Remove capacity fields from all Buffer wrapper types (#8301) 2023-04-04 20:12:31 +00:00
texture.rs Replace UUID based IDs with a atomic-counted ones (#6988) 2022-12-25 00:23:15 +00:00
uniform_buffer.rs Remove capacity fields from all Buffer wrapper types (#8301) 2023-04-04 20:12:31 +00:00