Parameter | Description |
---|---|
srcShader | Shader used in the source variant. |
srcPassId | PassIdentifier used in the source variant. |
srcKeywords | Array of keywords used in the source variant. |
dstShader | Shader used in the destination variant. |
dstPassId | PassIdentifier used in the destination variant. |
dstKeywords | Array of keywords used in the destination variant. |
bool Returns true if at least one graphics state was copied, false otherwise.
Copies all the graphics states from the source variant to the destination variant.