public override bool CanConnectTo(NdrProperty other) { bool ret = UsdCsPINVOKE.SdrShaderProperty_CanConnectTo(swigCPtr, NdrProperty.getCPtr(other)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public NdrProperty GetOutput(TfToken outputName) { global::System.IntPtr cPtr = UsdCsPINVOKE.NdrNode_GetOutput(swigCPtr, TfToken.getCPtr(outputName)); NdrProperty ret = (cPtr == global::System.IntPtr.Zero) ? null : new NdrProperty(cPtr, false); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(NdrProperty obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }