finish method

void finish()

Implementation

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

  for (int i = renderItemsIndex, il = renderItems.length; i < il; i++) {
    final 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;
  }
}