Texture sampling uses texture colors for coordinates in the range from 0
to 1
(inclusive) and the material property’s border
value otherwise.
SDKs
- iOS 8.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Scene
Kit
Declaration
case clampToBorder = 3
Discussion
Texture sampling in areas whose texture coordinates would fall outside this range uses the border
property instead of texel colors from the texture image.