Parameter | Description |
---|---|
material | Material with the shader and enabled keywords used in the variant. |
passId | PassIdentifier used in the variant. |
bool Returns true if at least one variant was added, false otherwise.
Adds one or more new shader variants to the collection.