示例#1
0
        public void Put(MeshBatch meshBatch)
        {
            Type             styleType = meshBatch.Style.Type;
            List <MeshBatch> batchList = _batchLists[styleType];

            if (batchList == null)
            {
                batchList = new List <MeshBatch>();
                _batchLists[styleType] = batchList;
            }

            meshBatch.Clear();
            batchList.Add(meshBatch);
        }
示例#2
0
 public void ClearMeshBatch(MeshBatch meshBatch)
 {
     meshBatch.Clear();
 }