code: def simple_vertex_array(self, program, buffer, *attributes,
                              index_buffer=None, index_element_size=4) -> 'VertexArray':
          '''
              Create a :py:class:`VertexArray` object.
  
              Args:
                  program (Program): The program used when rendering.
                  buffer (Buffer): The buffer.
                  attributes (list): A list of attribute names.
  
              Keyword Args:
                  index_element_size (int): byte size of each index element, 1, 2 or 4.
                  index_buffer (Buffer): An index buffer.
  
              Returns:
                  :py:class:`VertexArray` object
          '''
  
          if type(buffer) is list:
              raise SyntaxError('Change simple_vertex_array to vertex_array')
  
          content = [(buffer, detect_format(program, attributes)) + attributes]
          return self.vertex_array(program, content, index_buffer, index_element_sizef simple_vertex_array(self, program, buffer, *attributes,
                              index_buffer=None, index_element_size=4) -> 'VertexArray':
          '''
              Create a :py:class:`VertexArray` object.
  
              Args:
                  program (Program): The program used when rendering.
                  buffer (Buffer): The buffer.
                  attributes (list): A list of attribute names.
  
              Keyword Args:
                  index_element_size (int): byte size of each index element, 1, 2 or 4.
                  index_buffer (Buffer): An index buffer.
  
              Returns:
                  :py:class:`VertexArray` object
          '''
  
          if type(buffer) is list:
              raise SyntaxError('Change simple_vertex_array to vertex_array')
  
          content = [(buffer, detect_format(program, attributes)) + attributes]
          return self.vertex_array(program, content, index_buffer, index_element_size)
docs: Create a :py:class:`VertexArray` object.
  
              Args:
                  program (Program): The program used when rendering.
                  buffer (Buffer): The buffer.
                  attributes (list): A list of attribute names.
  
              Keyword Args:
                  index_element_size (int): byte size of each index element, 1, 2 or 4.
                  index_buffer (Buffer): An index buffer.
  
              Returns:
                  :py:class:`VertexArray` object