 		{
 			if (viewport.ready)
 			{
-				render(viewport, target);
+				_numTriangles = render(viewport, target);
 				Factory.sweep();
 			}
 		}

		
		private function applyBindingChanges() : void
		{
			var sceneBindings		: DataBindings		= _scene.bindings;
			var numShaderInstances	: int				= _passInstances.length;
			var sceneChanges		: Vector.<String>	= _stashedPropertyChanges[sceneBindings];
			
			for (var shaderInstanceId : int = numShaderInstances - 1; shaderInstanceId >= 0; --shaderInstanceId)
			{

		
		private function effectPassesChangedHandler(effect : Effect) : void
		{
			// FIXME
		}
		
		private function meshEffectChangedHandler(mesh		: Mesh,
												  oldEffect	: Effect,
												  newEffect	: Effect) : void
		{
			// FIXME
		}
		
		private function meshVisibilityChangedHandler(mesh		 : Mesh,
