MTLSamplerAddressMode.clampToBorderColor
An address mode that returns the sampler’s border color.
Declaration
case clampToBorderColorDiscussion
You can configure the sampler’s border color by setting the borderColor property in the MTLSamplerDescriptor instance that creates the sampler.