Method GetDefaultMaterialGenerator
GetDefaultMaterialGenerator()
Provides the default material generator that's being used if no custom material generator was provided. The result depends on the currently used render pipeline.
Declaration
public static IMaterialGenerator GetDefaultMaterialGenerator()
Returns
| Type | Description |
|---|---|
| IMaterialGenerator | The default material generator |
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException | Is thrown when the default material generator couldn't be determined based on the current render pipeline. |