original_docstring: 
          Re-allocate the entire buffer memory. This can be used to resize
          a buffer or for re-specification (orphan the buffer to avoid blocking).
  
          If the current buffer is busy in rendering operations
          it will be deallocated by OpenGL when completed.
  
          :param int size: New size of buffer. -1 will retain the current size.
          :param bool double: Is passed in with `True` the buffer size will be doubled
          
docstring: Re-allocate the entire buffer memory. This can be used to resize
  a buffer or for re-specification (orphan the buffer to avoid blocking).
  
  If the current buffer is busy in rendering operations
  it will be deallocated by OpenGL when completed.
docstring_tokens: Re - allocate the entire buffer memory . This can be used to resize a buffer or for re - specification ( orphan the buffer to avoid blocking ) . If the current buffer is busy in rendering operations it will be deallocated by OpenGL when completed .
code: def orphan(self, size: int = -1, double: bool = False):
          """
          Re-allocate the entire buffer memory. This can be used to resize
          a buffer or for re-specification (orphan the buffer to avoid blocking).
  
          If the current buffer is busy in rendering operations
          it will be deallocated by OpenGL when completed.
  
          :param int size: New size of buffer. -1 will retain the current size.
          :param bool double: Is passed in with `True` the buffer size will be doubled
          """
          if size > -1:
              self._size = size
  
          if double:
              self._size *= 2
  
          gl.glBindBuffer(gl.GL_ARRAY_BUFFER, self._glo)
          gl.glBufferData(gl.GL_ARRAY_BUFFER, self._size, None, self._usage)
code_tokens: def orphan ( self , size : int = - 1 , double : bool = False ) : if size > - 1 : self . _size = size if double : self . _size *= 2 gl . glBindBuffer ( gl . GL_ARRAY_BUFFER , self . _glo ) gl . glBufferData ( gl . GL_ARRAY_BUFFER , self . _size , None , self . _usage )
short_docstring: Re-allocate the entire buffer memory.
short_docstring_tokens: Re - allocate the entire buffer memory .
comment: """
          Re-allocate the entire buffer memory. This can be used to resize
          a buffer or for re-specification (orphan the buffer to avoid blocking).
  
          If the current buffer is busy in rendering operations
          it will be deallocated by OpenGL when completed.
  
          :param int size: New size of buffer. -1 will retain the current size.
          :param bool double: Is passed in with `True` the buffer size will be doubled
          """