IMaterialDescriptor Interface
Namespace: Stride.Rendering.MaterialsAssembly: Stride.Rendering.dll
Common interface for the description of a material.
public interface IMaterialDescriptor : IMaterialShaderGenerator
Name | Description | |
---|---|---|
Properties | ||
Attributes | Gets or sets the material attributes. |
|
Layers | Gets or sets the material compositor. |
|
MaterialId | Gets the material identifier used only internaly to match material instance by id (when cloning an asset for example) to provide an error when defining a material that is recursively referencing itself. |
Properties
Attributes
Gets or sets the material attributes.
[DataMember(10)]
[Display("Attributes", null, Expand = ExpandRule.Always)]
MaterialAttributes Attributes { get; set; }
Property Value
Type | Description |
---|---|
MaterialAttributes | The material attributes. |
Layers
Gets or sets the material compositor.
[DataMember(20)]
MaterialBlendLayers Layers { get; set; }
Property Value
Type | Description |
---|---|
MaterialBlendLayers | The material compositor. |
MaterialId
Gets the material identifier used only internaly to match material instance by id (when cloning an asset for example) to provide an error when defining a material that is recursively referencing itself.
AssetId MaterialId { get; }
Property Value
Type | Description |
---|---|
AssetId | The material identifier. |