bevyengine / bevyengine/bevy

`AsBindGroup` derive example error

Open
#10,510 3 comments 0 reactions 0 assignees View on GitHub
A-Rendering C-Docs
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 16h
Merged PRs (30d)
171

Description

The [`AsBindGroup` derive example](https://docs.rs/bevy/latest/bevy/render/render_resource/trait.AsBindGroup.html#deriving) has 5 bindings but the corresponding WGSL code only has 4. I suspect this is not intended (or I didn't understand the example).

Contributor guide

Open the contributing guide

Research direction

Start with the AsBindGroup derive example in the linked docs.rs documentation and compare its listed bindings with the corresponding WGSL code. Done means the example's Rust and WGSL binding counts and declarations agree; no repository file or test is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.