finish method

void finish()

Implementation

void finish() {
  // Clear references from inactive renderItems in the list

  for (var i = renderItemsIndex, il = renderItems.length; i < il; i++) {
    var renderItem = renderItems[i]!;

    if (renderItem.id == 0) break;

    renderItem.id = 0;
    renderItem.object = null;
    renderItem.geometry = null;
    renderItem.material = null;
    renderItem.program = null;
    renderItem.group = null;
  }
}