v7.0
shader
Renames a shader compound port. You can pass either an internal or external input or output port on a compound. When the name already exists, the new port named is appended an index to make sure it is unique.
oString = RenameShaderCompoundPort( InputObj, Name, DisplayName ); |
Returns the new port name of the compound port as a String.
Parameter | Type | Description |
---|---|---|
InputObj | String | Shader Compound Port to Rename. |
Name | String | New name for the shader compound port. |
DisplayName | String | New diplay name for the shader compound port. |
CreateShaderFromPreset CreateShadersFromMaterialPreset CreateShaderFromCLSID CreateShaderFromProgID CreateShaderCompound NestShaders UnnestShaders AddShaderCompoundPort RemoveShaderCompoundPort MoveShaderCompoundPort ExportShaderCompound ImportShaderCompound ExplodeShaderCompound SetShaderCompoundPropertiesEx GetShaderCompoundProperties EditShaderCompoundPPGLogic