Contents

borderColor

The border color for clamped texture values.

Declaration

var borderColor: MTLSamplerBorderColor { get set }

Discussion

This value is only used when the sampler address mode is MTLSamplerAddressMode.clampToBorderColor.

See Also

Declaring addressing modes