FairyGUI.Container.UpdateBatchingFlags C# (CSharp) Method

UpdateBatchingFlags() private method

private UpdateBatchingFlags ( ) : void
return void
        internal void UpdateBatchingFlags()
        {
            bool oldValue = _fBatchingRoot;
            _fBatchingRoot = _fBatching || _clipRect != null || _mask != null || _paintingMode > 0;
            if (oldValue != _fBatchingRoot)
            {
                if (_fBatchingRoot)
                    _fBatchingRequested = true;
                else if (_descendants != null)
                    _descendants.Clear();

                InvalidateBatchingState();
            }
        }