init(name:semantic:url:)
Initializes a material property with a URL value.
Declaration
convenience init(name: String, semantic: MDLMaterialSemantic, url URL: URL?)Parameters
Return Value
A new material property object whose type property is MDLMaterialPropertyType.URL.
Discussion
A renderer (or other software component processing a material) is responsible for loading a texture image from the specified URL.