Exemple #1
0
 public void _notifyUniformBufferDestroyed(HardwareUniformBuffer buf)
 {
     OgrePINVOKE.HardwareBufferManagerBase__notifyUniformBufferDestroyed(swigCPtr, HardwareUniformBuffer.getCPtr(buf));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public HardwareUniformBuffer __deref__()
        {
            global::System.IntPtr cPtr = OgrePINVOKE.HardwareUniformBufferPtr___deref__(swigCPtr);
            HardwareUniformBuffer ret  = (cPtr == global::System.IntPtr.Zero) ? null : new HardwareUniformBuffer(cPtr, false);

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