internal void ProcessCustomRenderCommand(CCCustomCommand customCommand) { // We're changing command types so render any pending sequence of commands // e.g. Batched quad commands if ((currentCommandType & CCCommandType.Custom) == CCCommandType.None) { Flush(); } customCommand.RenderCustomCommand(drawManager); currentCommandType = CCCommandType.Custom; }
internal void ProcessCustomRenderCommand(CCCustomCommand customCommand) { // We're changing command types so render any pending sequence of commands // e.g. Batched quad commands if((currentCommandType & CCCommandType.Custom) == CCCommandType.None) Flush(); customCommand.RenderCustomCommand(drawManager); currentCommandType = CCCommandType.Custom; }