import TgaImage from '../../../parsers/tga/image' ; import isTga from '../../../parsers/tga/isformat' ; import Texture from './texture' ; export default { isValidSource ( object ) { if ( object instanceof TgaImage ) { return true ; } return isTga ( object ) ; } , resource : Texture , } ;