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