deleteVertexArray method

void deleteVertexArray(
  1. VertexArrayObject array
)

Implementation

void deleteVertexArray(VertexArrayObject array){
  startCheck('deleteVertexArray');
  final List<int> _texturesList = [array.id];
  final ptr = calloc<Uint32>(_texturesList.length);
  ptr.asTypedList(1).setAll(0, _texturesList);
  gl.glDeleteVertexArrays(1, ptr);
  calloc.free(ptr);
  checkError('deleteFramebuffer');
}