v9.0 (2011)
Upgrades shader instances to use a different version of the shader definition. Use this task to do versioning of shaders or shader compounds.
oReturn = ReplaceShadersDefinition( [Shaders], [NewDefinition] ); |
Nothing
Parameter | Type | Description |
---|---|---|
Shaders | String |
Shaders to upgrade. Make sure all the shaders have the same ProgID. Default Value: Current selection |
NewDefinition | ShaderDef | New Shader Definition. |