Instance Property

transform

The transformation to be applied to texture coordinate data before sampling from the texture.

Declaration

var transform: MDLTransform? { get set }

Discussion

Use this property to translate, scale, or rotate a texture relative to the surfaces it’s rendered on.

See Also

Working with Texture Parameters

var texture: MDLTexture?

The texture object that provides image data for sampling.

var hardwareFilter: MDLTextureFilter?

An object that describes filtering modes for sampling from the texture.