Instance Property

tWrapMode

The coordinate wrapping mode for texture t-coordinates.

Declaration

var tWrapMode: 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 t-coordinate is the second value in a set of texture coordinates, used with two- and three-dimensional textures.

See Also

Managing Texture Coordinate Wrap Modes

var sWrapMode: MDLMaterialTextureWrapMode

The coordinate wrapping mode for texture t-coordinates.

var rWrapMode: MDLMaterialTextureWrapMode

The coordinate wrapping mode for texture r-coordinates.