コード例 #1
0
ファイル: DynamicAtlas.cs プロジェクト: sq/Libraries
 private void QueueHandlers()
 {
     if (!IsDisposed && !_IsQueued)
     {
         _IsQueued = true;
         Coordinator.BeforePrepare(_BeforePrepare);
         // This is queued by the BeforePrepare handler
         // Coordinator.BeforeIssue(_BeforeIssue);
     }
 }
コード例 #2
0
        public void Invalidate()
        {
            lock (Lock) {
                if (IsDirty)
                {
                    return;
                }

                Coordinator.BeforePrepare(_BeforePrepare);
                IsDirty = true;
            }
        }