class_docstr: An item represent an object within a collection and is created on demand
  when accessing a specific object of the collection.
class_docstr_tok: ["An","item","represent","an","object","within","a","collection","and","is","created","on","demand","when","accessing","a","specific","object","of","the","collection","."]
docstr: Create an item from an existing collection.
  
  Parameters
  ----------
  parent : Collection
      Collection this item belongs to
  
  key : int
      Collection index of this item
  
  vertices: array-like
      Vertices of the item
  
  indices: array-like
      Indices of the item
  
  uniforms: array-like
      Uniform parameters of the item
docstr_tok: ["Create","an","item","from","an","existing","collection",".","Parameters","--","--","--","--","--","parent",":","Collection","Collection","this","item","belongs","to","key",":","int","Collection","index","of","this","item","vertices",":","array-like","Vertices","of","the","item","indices",":","array-like","Indices","of","the","item","uniforms",":","array-like","Uniform","parameters","of","the","item"]
code: def __init__(self, parent, key, vertices, indices, uniforms):
      """
      Create an item from an existing collection.
  
      Parameters
      ----------
      parent : Collection
          Collection this item belongs to
  
      key : int
          Collection index of this item
  
      vertices: array-like
          Vertices of the item
  
      indices: array-like
          Indices of the item
  
      uniforms: array-like
          Uniform parameters of the item
      """
      self._parent = parent
      self._key = key
      self._vertices = vertices
      self._indices = indices
      self._uniforms = uniforms
  
imports: from __future__ import division
  import math
  import numpy
  from ...gloo import Texture2D, VertexBuffer, IndexBuffer
  from .util import dtype_reduce
  from .array_list import ArrayList
label_desc: Use image node_id 1 to create a new Item object from inherited base classes: object with example: obj = Item(parent, key, vertices, indices, uniforms)