public PcpLayerStack GetLayerStack() { global::System.IntPtr cPtr = UsdCsPINVOKE.PcpNodeRef_GetLayerStack(swigCPtr); PcpLayerStack ret = (cPtr == global::System.IntPtr.Zero) ? null : new PcpLayerStack(cPtr, true); return(ret); }
public PcpLayerStack __deref__() { global::System.IntPtr cPtr = UsdCsPINVOKE.PcpLayerStackPtr___deref__(swigCPtr); PcpLayerStack ret = (cPtr == global::System.IntPtr.Zero) ? null : new PcpLayerStack(cPtr, true); return(ret); }
public PcpLayerStackPtr(PcpLayerStack ptr) : this(UsdCsPINVOKE.new_PcpLayerStackPtr(PcpLayerStack.getCPtr(ptr)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public PcpLayerStack ComputeLayerStack(PcpLayerStackIdentifier identifier, SWIGTYPE_p_PcpErrorVector allErrors) { global::System.IntPtr cPtr = UsdCsPINVOKE.PcpCache_ComputeLayerStack(swigCPtr, PcpLayerStackIdentifier.getCPtr(identifier), SWIGTYPE_p_PcpErrorVector.getCPtr(allErrors)); PcpLayerStack ret = (cPtr == global::System.IntPtr.Zero) ? null : new PcpLayerStack(cPtr, true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PcpLayerStack obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }