Contents

MTLSamplerAddressMode.clampToBorderColor

An address mode that returns the sampler’s border color.

Declaration

case clampToBorderColor

Discussion

You can configure the sampler’s border color by setting the borderColor property in the MTLSamplerDescriptor instance that creates the sampler.

See Also

Address mode options