![]() # 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 |
||
---|---|---|
.. | ||
bind_group_layout.rs | ||
bind_group.rs | ||
buffer_vec.rs | ||
buffer.rs | ||
mod.rs | ||
pipeline_cache.rs | ||
pipeline_specializer.rs | ||
pipeline.rs | ||
resource_macros.rs | ||
shader.rs | ||
storage_buffer.rs | ||
texture.rs | ||
uniform_buffer.rs |