Example #1
0
 void InitializeNewContext(GLCmdEncodingInstruction inst, uint currentIndex)
 {
     mCurrentContext = new GLCmdEncoderContext
     {
         Category = inst.Category,
         First    = currentIndex,
         Last     = currentIndex,
     };
     mContexts.Add(mCurrentContext);
 }
Example #2
0
 public void Clear()
 {
     mContexts.Clear();
     mInstructions.Clear();
     mCurrentContext = null;
 }
Example #3
0
 public GLCmdIncrementalContextSorter()
 {
     mContexts       = new List <GLCmdEncoderContext>();
     mInstructions   = new List <GLCmdRecordInstruction>();
     mCurrentContext = null;
 }