Parameter | Description |
---|---|
shader | Shader used in the variant. |
passId | PassIdentifier used in the variant. |
keywords | Array of keywords used in the variant. |
material | Material with the shader and enabled keywords used in the variant. |
Create a ShaderVariant with the provided shader pass and keywords.