bevy/crates/bevy_render/src/render_resource
SpeedRoll 952735f5ae Added buffer usage field to buffers (#7423)
# Objective

Buffers in bevy do not allow for setting buffer usage flags which can be useful for setting COPY_SRC, MAP_READ, MAP_WRITE, which allows for buffers to be copied from gpu to cpu for inspection.

## Solution

Add buffer_usage field to buffers and a set_usage function to set them
2023-02-06 21:41:14 +00:00
..
bind_group_layout.rs Replace UUID based IDs with a atomic-counted ones (#6988) 2022-12-25 00:23:15 +00:00
bind_group.rs Support storage buffers in derive AsBindGroup (#6129) 2023-01-09 18:50:55 +00:00
buffer_vec.rs Directly extract joints into SkinnedMeshJoints (#6833) 2022-12-20 16:17:05 +00:00
buffer.rs Replace UUID based IDs with a atomic-counted ones (#6988) 2022-12-25 00:23:15 +00:00
mod.rs improve compile time by type-erasing wgpu structs (#5950) 2022-11-18 22:04:23 +00:00
pipeline_cache.rs Migrate engine to Schedule v3 (#7267) 2023-02-06 02:04:50 +00:00
pipeline_specializer.rs Make PipelineCache internally mutable. (#7205) 2023-01-16 15:41:14 +00:00
pipeline.rs Replace UUID based IDs with a atomic-counted ones (#6988) 2022-12-25 00:23:15 +00:00
resource_macros.rs remove potential ub in render_resource_wrapper (#7279) 2023-02-06 17:14:00 +00:00
shader.rs Shaders can now have #else ifdef chains (#7431) 2023-02-04 15:29:35 +00:00
storage_buffer.rs Added buffer usage field to buffers (#7423) 2023-02-06 21:41:14 +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 Added buffer usage field to buffers (#7423) 2023-02-06 21:41:14 +00:00