pub fn binding_index(entries: &[BindingEntry], name: &str) -> Option<u32>Expand description
Looks up the @binding(N) a target declared under name. Returning
None for an unmatched name (rather than panicking) is what lets
GPUBindingInstance::upload turn a bad name into a None upload result
via ? — the sync system retries next tick rather than treating it as
fatal (see Asset::upload).