MDLMaterialPropertyType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates material property types.
public enum MDLMaterialPropertyType
type MDLMaterialPropertyType =
- Inheritance
-
MDLMaterialPropertyType
Fields
Color | 4 | Indicates a property that specifies a color. |
Float | 5 | Indicates a property that contains a floating-point value. |
Float2 | 6 | Indicates a vector property that contains two floating-point values. |
Float3 | 7 | Indicates a vector property that contains three floating-point values. |
Float4 | 8 | Indicates a vector property that contains four floating-point values. |
Matrix44 | 9 | Indicates a property that contains a 4x4 matrix of floating-point values. |
None | 0 | Indicates an uninitialized property. |
String | 1 | Indicates a property that contains a string. |
Texture | 3 | Indicates a property that contains a texture. |
Url | 2 | Indicates a property that contains a URL that typically addresses a texture. |