MaterialLibrary constructor

MaterialLibrary(
  1. ModelUploader uploader,
  2. Future<Uint8List> read(
    1. String path
    )
)

A library reading files through read and making GPU things with uploader.

Implementation

MaterialLibrary(this.uploader, this.read);