public PcpNodeRef InsertChildSubgraph(SWIGTYPE_p_TfDeclarePtrsT_PcpPrimIndex_Graph_t__Ptr subgraph, PcpArc arc) { PcpNodeRef ret = new PcpNodeRef(UsdCsPINVOKE.PcpNodeRef_InsertChildSubgraph(swigCPtr, SWIGTYPE_p_TfDeclarePtrsT_PcpPrimIndex_Graph_t__Ptr.getCPtr(subgraph), PcpArc.getCPtr(arc)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_TfDeclarePtrsT_PcpPrimIndex_Graph_t__Ptr obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public SWIGTYPE_p_TfDeclarePtrsT_PcpPrimIndex_Graph_t__Ptr GetGraph() { SWIGTYPE_p_TfDeclarePtrsT_PcpPrimIndex_Graph_t__Ptr ret = new SWIGTYPE_p_TfDeclarePtrsT_PcpPrimIndex_Graph_t__Ptr(UsdCsPINVOKE.PcpPrimIndex_GetGraph(swigCPtr), true); return(ret); }