public UsdShadeConnectableAPI(UsdShadeNodeGraph nodeGraph) : this(UsdCsPINVOKE.new_UsdShadeConnectableAPI__SWIG_4(UsdShadeNodeGraph.getCPtr(nodeGraph)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public static UsdShadeNodeGraph Define(UsdStageWeakPtr stage, SdfPath path) { UsdShadeNodeGraph ret = new UsdShadeNodeGraph(UsdCsPINVOKE.UsdShadeNodeGraph_Define(UsdStageWeakPtr.getCPtr(stage), SdfPath.getCPtr(path)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UsdShadeNodeGraph obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }