Ejemplo n.º 1
0
 /// <summary>
 /// Releases the resources used by this engine
 /// </summary>
 public virtual void Dispose()
 {
     if (this.call != IntPtr.Zero)
     {
         EngineAPI.DestroyProgramCall(this.call);
         this.call = IntPtr.Zero;
     }
     this.program = (HDevProgram)null;
     GC.SuppressFinalize((object)this);
     GC.KeepAlive((object)this);
 }