Enumeration Case

MDLMaterialPropertyType.texture

The material property’s value is a MDLTextureSampler object that provides both a texture image and texture rendering parameters.

Declaration

case texture = 3

Discussion

Use the textureSamplerValue property to access the material property’s value.