Enumeration Case

MDLMaterialPropertyType.float4

The material property’s value is a 4-component floating-point vector.

Declaration

case float4 = 8

Discussion

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