mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-23 07:14:01 +00:00
ed8503ed6c
This PR adds `ResourceId::Sampler`, `NativeResource::Sampler` and `TrackerSet::samplers`. Samplers are (similarly to bind groups) created with their own life guard and a device id to keep the device ref count alive. Also added are `extern wgpu_sampler_destroy` and `sampler_destroy`. The rest of the implementation was guided by compiler errors, so there is a good chance I didn't find something crucial that also needed doing. Please check :) |
||
---|---|---|
.. | ||
wgpu-remote.h | ||
wgpu.h |