예제 #1
0
 public virtual void addListener(MaterialManager_Listener l, string schemeName)
 {
     OgrePINVOKE.MaterialManager_addListener__SWIG_0(swigCPtr, MaterialManager_Listener.getCPtr(l), schemeName);
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
 public virtual void removeListener(MaterialManager_Listener l)
 {
     OgrePINVOKE.MaterialManager_removeListener__SWIG_1(swigCPtr, MaterialManager_Listener.getCPtr(l));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MaterialManager_Listener obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }