Synced
MaterialAsset
Section titled “MaterialAsset”
- Represents material state keyed by stable shader property identifiers.
Required contracts
Section titled “Required contracts”API: engine
Inherits: Inno.Assets.AssetObject
Project: Inno.Rendering.Assets
Declaration
Section titled “Declaration”public class Inno.Rendering.Assets.MaterialAsset : Inno.Assets.AssetObjectMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | MaterialAsset.Constructor | No XML description is available. |
| Methods | MaterialAsset.RemoveMetadata | Removes one provider-defined metadata value. |
| Methods | MaterialAsset.ReplaceProperties | Atomically replaces all persistent material values with an isolated, deterministically ordered set. |
| Methods | MaterialAsset.Set | Creates or replaces one material property. |
| Methods | MaterialAsset.SetKeyword | Enables or disables a declared static keyword option. |
| Methods | MaterialAsset.SetMetadata | Creates or replaces one provider-defined metadata value. |
| Methods | MaterialAsset.TryGet | Tries to read one material property. |
| Methods | MaterialAsset.TryGetMetadata | Tries to read one provider-defined metadata value. |
| Properties | MaterialAsset.keywords | Gets enabled stable keyword option identifiers. |
| Properties | MaterialAsset.metadata | Gets open provider-defined metadata. |
| Properties | MaterialAsset.properties | Gets persistent material values in stable insertion order. |
| Properties | MaterialAsset.shader | Gets or sets the referenced shader asset. |
| Properties | MaterialAsset.techniqueId | Gets or sets an optional explicitly selected technique. |