| Parameter | Description |
|---|---|
| shader | Shader used in the variant. |
| passId | PassIdentifier used in the variant. |
| keywords | Array of keywords used in the variant. |
bool Returns true if the variant was added, false otherwise.
Adds a new shader variant to the collection.