DataTexture.fromMap constructor

DataTexture.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory DataTexture.fromMap(Map<String,dynamic> map){
  return DataTexture(
    map['data'],
    map['width'],
    map['height'],
    map['format'],
    map['type'],
    map['mapping'],
    map['wrapS'],
    map['wrapT'],
    map['magFilter'],
    map['minFilter'],
    map['anisotropy'],
    map['encoding']
  );
}