Skip to content

Storage Support in AsBindGroup #5499

@jafioti

Description

@jafioti

What problem does this solve or what need does it fill?

Currently I use the storage binding to pass a vector of elements to a shader. Storage should be supported on the new AsBindGroup derive, otherwise it isn't really a replacement.

What solution would you like?

Support writing#[storage(0)] the same way #[uniform(0)] is supported.

What alternative(s) have you considered?

None, this is a pretty small change that fits in to the rest of the AsBindGroup macro, just seems like a strange missing piece.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-UsabilityA targeted quality-of-life change that makes Bevy easier to useS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions