예제 #1
0
파일: Renderer.cs 프로젝트: maconbot/c4g
		public void EndFrame()
		{
			var renderCommands = new RenderCommand[_updatingRenderCommands.Count];
			_updatingRenderCommands.CopyTo(renderCommands, 0);
			_concurrentRenderCommandsThatRepresentAFrame.Add(renderCommands);
			_updatingRenderCommands.Clear();
		}
예제 #2
0
파일: Renderer.cs 프로젝트: maconbot/c4g
		public void EndFrame()
		{
			var renderCommands = new RenderCommand[_updatingRenderCommands.Count];
			// TODO: Copy the render commands you added via Addcube into renderCommands . Then use the concurrent collection
            // so that the info there is stored.
            // Finally there will be some cleaning up to do, but where?
            
		}