Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
 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);
 }