| Parameter | Description |
|---|---|
| shader | Shader used in the variant. |
| passId | PassIdentifier used in the variant. |
| keywords | LocalKeyword array of keywords used in the variant. |
| variant | The input shader variant. |
Int32 The number of graphics states associated to input shader variant.
Get the number of graphics states associated with an input shader variant.
Additional resources: totalGraphicsStateCount, GetGraphicsStatesForVariant.