Instance Property

sWrapMode

The coordinate wrapping mode for texture t-coordinates.

Declaration

var sWrapMode: MDLMaterialTextureWrapMode { get set }

Discussion

Texture coordinates canonically range from 0.0 to 1.0; wrap mode determines the behavior for samples from outside that range. For details, see MDLMaterialTextureWrapMode.

The s-coordinate is the first (or only) value in a set of texture coordinates, used with one-, two-, and three-dimensional textures.

See Also

Managing Texture Coordinate Wrap Modes

var tWrapMode: MDLMaterialTextureWrapMode

The coordinate wrapping mode for texture t-coordinates.

var rWrapMode: MDLMaterialTextureWrapMode

The coordinate wrapping mode for texture r-coordinates.

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