| Parameter | Description |
|---|---|
| shader | Shader used in the variant. |
| passId | PassIdentifier used in the variant. |
| keywords | Array of keywords used in the variant. |
| variant | The input shader variant. |
int The number of graphics states associated to input shader variant.
Get the number of graphics states associated to a shader variant.