Enumeration Case

SCNWrapModeClampToBorder

Texture sampling uses texture colors for coordinates in the range from 0.0 to 1.0 (inclusive) and the material property’s borderColor value otherwise.

Declaration

SCNWrapModeClampToBorder = 3

Discussion

Texture sampling in areas whose texture coordinates would fall outside this range uses the borderColor property instead of texel colors from the texture image.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software