public SdrShaderProperty GetDefaultInput() { global::System.IntPtr cPtr = UsdCsPINVOKE.SdrShaderNode_GetDefaultInput(swigCPtr); SdrShaderProperty ret = (cPtr == global::System.IntPtr.Zero) ? null : new SdrShaderProperty(cPtr, false); return(ret); }
public SdrShaderProperty GetShaderOutput(TfToken outputName) { global::System.IntPtr cPtr = UsdCsPINVOKE.SdrShaderNode_GetShaderOutput(swigCPtr, TfToken.getCPtr(outputName)); SdrShaderProperty ret = (cPtr == global::System.IntPtr.Zero) ? null : new SdrShaderProperty(cPtr, false); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SdrShaderProperty obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }