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