Instance Property

material

An object that describes the intended surface appearance of the submesh for rendering.

Declaration

var material: MDLMaterial? { get set }

Discussion

A MDLMaterial object describes the complete set of rendering parameters for producing a specific surface appearance, such as color, texture, specularity, and opacity.

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