fromBlob method
blob
- a blob of the file to be loaded
Implementation
@override
Future<CubeTexture?> fromBlob(Blob blob) async{
final image = await _loader.fromBlob(blob);
texture.images.add(image);
loaded ++;
if ( loaded == 6 ) {
texture.needsUpdate = true;
return texture;
}
return null;
}