A generator of texel data that creates a gradient between two specified colors.
- iOS 9.0+
- macOS 10.11+
- UIKit for Mac 13.0+Beta
- tvOS 9.0+
A MDLColorSwatchTexture object procedurally generates texel data by creating a gradient between two colors. Like other procedural
MDLTexture subclasses, the
MDLColorSwatchTexture class generates texel data only when that data is first referenced, and caches it for future use.
Creating a Color Swatch Texture
A source of texel data to be used in rendering material surface appearances.
A generator of texel data that creates cube textures using a physically realistic simulation of the sunlit sky.
An object that pairs a source of texture data with sampling parameters to be used in rendering the texture.
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