fromPath method

  1. @override
Future<CompressedTexture?> fromPath(
  1. String filePath
)
override

filePath - path of the file to be loaded

Implementation

@override
Future<CompressedTexture?> fromPath(String filePath) async{
  _init();
  ThreeFile? tf = await _loader.fromPath(filePath);
  return _parse(tf?.data);
}