MDLMaterialPropertyType MDLMaterialPropertyType Enum

Definition

Enumerates material property types.

public enum MDLMaterialPropertyType
type MDLMaterialPropertyType = 
Inheritance
MDLMaterialPropertyTypeMDLMaterialPropertyType

Fields

Color Color 4

Indicates a property that specifies a color.

Float Float 5

Indicates a property that contains a floating-point value.

Float2 Float2 6

Indicates a vector property that contains two floating-point values.

Float3 Float3 7

Indicates a vector property that contains three floating-point values.

Float4 Float4 8

Indicates a vector property that contains four floating-point values.

Matrix44 Matrix44 9

Indicates a property that contains a 4x4 matrix of floating-point values.

None None 0

Indicates an uninitialized property.

String String 1

Indicates a property that contains a string.

Texture Texture 3

Indicates a property that contains a texture.

Url Url 2

Indicates a property that contains a URL that typically addresses a texture.

Applies to