Esempio n. 1
0
        public UnifiedHighLevelGpuProgram __deref__()
        {
            global::System.IntPtr      cPtr = OgrePINVOKE.UnifiedHighLevelGpuProgramPtr___deref__(swigCPtr);
            UnifiedHighLevelGpuProgram ret  = (cPtr == global::System.IntPtr.Zero) ? null : new UnifiedHighLevelGpuProgram(cPtr, false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UnifiedHighLevelGpuProgram obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }