Constructor SpeedTree8MaterialUpgrader
SpeedTree8MaterialUpgrader(string, string, MaterialFinalizer)
Creates a material upgrader that handles the property renames that HD and Universal have in common when upgrading from the built-in SpeedTree 8 shader.
Declaration
public SpeedTree8MaterialUpgrader(string sourceShaderName, string destShaderName, MaterialUpgrader.MaterialFinalizer finalizer = null)
Parameters
Type | Name | Description |
---|---|---|
string | sourceShaderName | Original SpeedTree8 shader name. |
string | destShaderName | New SpeedTree 8 shader name. |
MaterialUpgrader.MaterialFinalizer | finalizer | A delegate that postprocesses the material for the render pipeline in use. |