Esempio n. 1
0
    // ------------------------------------------------------------------
    // Desc:
    // ------------------------------------------------------------------

    void Update()
    {
        for (int l = MAX_LAYER - 1; l >= 0; --l)
        {
            List <BlendState> blendStates = layerToBlendStates[l];
            for (int i = blendStates.Count - 1; i >= 0; --i)
            {
                BlendState blendState = blendStates[i];
                if (blendState.Step())
                {
                    blendStates.RemoveAt(i);
                }
            }
        }
    }