class_docstr: Buffer for index data
  
  Parameters
  ----------
  data : ndarray | None
      Buffer data.
class_docstr_tok: ["Buffer","for","index","data","Parameters","--","--","--","--","--","data",":","ndarray","|","None","Buffer","data","."]
code: def __init__(self, data=None):
      DataBuffer.__init__(self, data)
      self._last_dim = 1
  
imports: import numpy
  from os import path
  from traceback import extract_stack, format_list
  import weakref
  from .globject import GLObject
  from ..util import logger
label_desc: Use image node_id 1 to create a new IndexBuffer object from inherited base classes: DataBuffer with example: obj = IndexBuffer(data)