| Parameter | Description | 
|---|---|
| shader | Shader used in associated variant. | 
| passId | PassIdentifier used in associated variant. | 
| keywords | Array of keywords used in associated variant. | 
| setup | GraphicsState to add. | 
bool Returns true if the graphics state was added, false otherwise.
Adds a new graphics state associated with a shader variant.