Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sampler: Add missing
gpu_resource_id()
getter and set_label()
setter
According to the upstream docs and the Metal Shader Converter implementation the `SamplerState` type has a way to get access to its `MTLResourceID` on the GPU: https://developer.apple.com/documentation/metal/mtlsamplerstate/3974101-gpuresourceid And if other Metal types in this crate are to be believed, the label is settable to be able to assign an identifier to it in the first place.
- Loading branch information