gpu: add TogglesDeviceDescriptor.init slice helper

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-08-16 17:32:03 -07:00
parent cb80cfc3c2
commit 5e4aa7e6df
4 changed files with 19 additions and 5 deletions

View file

@ -168,6 +168,7 @@ And, to initialize data structures with slices in them, the following helpers ar
* `BindGroupLayout.Descriptor.init`
* `BindGroup.Descriptor.init`
* `InstanceDescriptor.init`
* `TogglesDeviceDescriptor.init`
### Typed callbacks