Enumeration

MDLMaterialSemantic

Options for the semantic use of a material property’s value in rendering a particular surface appearance; used by the semantic property.

Declaration

typedef enum MDLMaterialSemantic : NSUInteger {
    ...
} MDLMaterialSemantic;

Topics

Constants

MDLMaterialSemanticBaseColor

The inherent color of a surface, to be used as a modulator during shading.

MDLMaterialSemanticSubsurface

The degree to which light scatters under the surface of a material.

MDLMaterialSemanticMetallic

The degree to which a material appears as a dielectric surface (lower values) or as a metal (higher values).

MDLMaterialSemanticSpecular

The intensity of specular highlights that appear on the material’s surface.

MDLMaterialSemanticSpecularExponent

The exponent to be used in Blinn-Phong approximation of the material’s specular response.

MDLMaterialSemanticSpecularTint

The balance of color for specular highlights, between the light color (lower values) and the material’s base color (at higher values).

MDLMaterialSemanticRoughness

The degree to which a material appears smooth, affecting both diffuse and specular response.

MDLMaterialSemanticAnisotropic

The degree to which specular highlights elongate in the direction of the local tangent basis.

MDLMaterialSemanticAnisotropicRotation

The angle at which anisotropic effects are rotated relative to the local tangent basis.

MDLMaterialSemanticSheen

The intensity of highlights that appear only at glancing angles on a material’s surface.

MDLMaterialSemanticSheenTint

The balance of color for highlights that appear only at glancing angles, between the light color (lower values) and the material’s base color (at higher values).

MDLMaterialSemanticClearcoat

The intensity of a second specular highlight, similar to the gloss that results from a clear coat on an automotive finish.

MDLMaterialSemanticClearcoatGloss

The spread of a second specular highlight, similar to the gloss that results from a clear coat on an automotive finish.

MDLMaterialSemanticEmission

The color emitted as radiance from a material’s surface.

MDLMaterialSemanticBump

The degree of perturbation in a material’s surface.

MDLMaterialSemanticOpacity

The opacity of a material’s surface.

MDLMaterialSemanticInterfaceIndexOfRefraction

The index of refraction for the medium surrounding a material.

MDLMaterialSemanticMaterialIndexOfRefraction

The index of refraction for a material itself.

MDLMaterialSemanticObjectSpaceNormal

The variation in the surface normal vectors in a material, relative to model coordinate space.

MDLMaterialSemanticTangentSpaceNormal

The variation in the surface normal vectors in a material, relative to surface tangent coordinate space.

MDLMaterialSemanticDisplacement

The displacement of a material’s surface relative to the surface normal.

MDLMaterialSemanticDisplacementScale

The scaling factor for displacement of a material’s surface.

MDLMaterialSemanticAmbientOcclusion

The attenuation of ambient light due to local geometry variations on a surface.

MDLMaterialSemanticAmbientOcclusionScale

The scaling factor for ambient occlusion shading.

MDLMaterialSemanticNone

The material property’s semantic property has not been initialized.

MDLMaterialSemanticUserDefined

The meaning of the material property’s value is not one of the standard semantic uses recognized by Model I/O.