Esempio n. 1
0
 private void Release()
 {
     if (this.comObject != null)
     {
         Marshal.ReleaseComObject(this.comObject);
         this.comObject = null;
         this.getSurfaceLevel = null;
     }
 }
Esempio n. 2
0
 internal Direct3DTexture9(ComInterface.IDirect3DTexture9 obj)
 {
     this.comObject = obj;
     ComInterface.GetComMethod(this.comObject, 18, out this.getSurfaceLevel);
 }