This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Concurrent; | |
| namespace FezEngine.Tools | |
| { | |
| public static class DrawActionScheduler | |
| { | |
| static readonly ConcurrentQueue<Action> DeferredDrawActions = new ConcurrentQueue<Action>(); | |
| public static void Schedule(Action action) |