Function Material.texture

Whether this Material is textured.

Texture texture() @property const;

Be sure to check Material.textured before accessing this property.