GPU{ComputePass,RenderPass,RenderBundle}Encoder.setBindGroup
is now nullable
#36078
Labels
Content:WebAPI
Web API docs
help wanted
If you know something about this topic, we would love your help!
MDN URL
content/files/en-us/web/api/gpurenderpassencoder/setbindgroup/index.md
Line 30 in a966a8b
What specific section or headline is this issue about?
The
bindGroup
argument ofGPUBindingCommandsMixin.setBindGroup
, which applies toGPU{ComputePass,RenderPass,RenderBundle}Encoder
s.What information was incorrect, unhelpful, or incomplete?
It's incomplete not to mention the case where the
bindGroup
argument forsetBindGroup
overloads can benull
, for the purpose of unsetting a bind group.What did you expect to see?
I expect to see a note that
null
can be specified. Perhaps even an example?Do you have any supporting links, references, or citations?
This was changed with the WebGPU spec. upstream PR
gpuweb
#3938.Do you have anything more you want to share?
I'm a member of Firefox's WebGPU team, hello! 👋🏻 Pleasure to meet you. 🙂
I expect most casual users of WebGPU to not need this functionality, but I'm not sure about production users.
The text was updated successfully, but these errors were encountered: