Contents

rAddressMode

The address mode for the texture depth (r) coordinate.

Declaration

var rAddressMode: MTLSamplerAddressMode { get set }

Discussion

The default value is MTLSamplerAddressMode.clampToEdge.

See Also

Related Documentation

  • Metal Shading Language Guide
  • Metal Programming Guide

Declaring addressing modes