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.

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