示例#1
0
 public void OnDestroy()
 {
     if (syphonServerTextureInstance != 0)
     {
         Syphon.KillServerTexture(syphonServerTextureInstance);
     }
     syphonServerTextureInstance     = 0;
     syphonServerTextureValuesCached = false;
     srcTex      = null;
     cachedTexID = 0;
 }
示例#2
0
    public void OnDestroy()
    {
        if (syphonServerTextureInstance != 0)
        {
            Syphon.KillServerTexture(syphonServerTextureInstance);
        }

        syphonServerTextureInstance            = 0;
        syphonServerTextureInstanceInitialized = false;
        tex          = null;
        storedWidth  = 0;
        storedHeight = 0;
    }