![]() # Objective - Storage buffers are useful and not currently supported by the `AsBindGroup` derive which means you need to expand the macro if you need a storage buffer ## Solution - Add a new `#[storage]` attribute to the derive `AsBindGroup` macro. - Support and optional `read_only` parameter that defaults to false when not present. - Support visibility parameters like the texture and sampler attributes. --- ## Changelog - Add a new `#[storage(index)]` attribute to the derive `AsBindGroup` macro. Co-authored-by: IceSentry <IceSentry@users.noreply.github.com> |
||
---|---|---|
.. | ||
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 |