bool UsdShadeParameter::ConnectToSource(UsdShadeInput const &input) const { UsdShadeConnectableAPI source(input.GetAttr().GetPrim()); return ConnectToSource(source, input.GetBaseName(), /* sourceType */ UsdShadeAttributeType::Input); }
bool UsdShadeOutput::CanConnect(const UsdShadeInput &sourceInput) const { return CanConnect(sourceInput.GetAttr()); }