Esempio n. 1
0
 public void _notifyCounterBufferDestroyed(HardwareCounterBuffer buf)
 {
     OgrePINVOKE.HardwareBufferManagerBase__notifyCounterBufferDestroyed(swigCPtr, HardwareCounterBuffer.getCPtr(buf));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public HardwareCounterBuffer __deref__()
        {
            global::System.IntPtr cPtr = OgrePINVOKE.HardwareCounterBufferPtr___deref__(swigCPtr);
            HardwareCounterBuffer ret  = (cPtr == global::System.IntPtr.Zero) ? null : new HardwareCounterBuffer(cPtr, false);

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