setDelta method

void setDelta(
  1. RenderCounters start,
  2. RenderCounters now
)

Sets this to now - start.

Implementation

void setDelta(RenderCounters start, RenderCounters now) {
  draws = now.draws - start.draws;
  instances = now.instances - start.instances;
  vertices = now.vertices - start.vertices;
  submitted = now.submitted - start.submitted;
  culled = now.culled - start.culled;
  layerMasked = now.layerMasked - start.layerMasked;
  pipelineRejected = now.pipelineRejected - start.pipelineRejected;
  pipelineBinds = now.pipelineBinds - start.pipelineBinds;
  pipelineBuilds = now.pipelineBuilds - start.pipelineBuilds;
  batches = now.batches - start.batches;
  batchedItems = now.batchedItems - start.batchedItems;
}