import Material from '../materials/core/Material' ; import { RnM2 , RnM2Material , RnM2TextureSampler } from '../../types/RnM2' ; import Entity from '../core/Entity' ; export default interface ILoaderExtension { generateMaterial ? ( materialJson ) : Material ; isNeededToUseThisMaterial ? ( gltfJson ) : boolean ; setTextures ? ( gltfJson , materialJson ) : void ; setupMaterial ? ( gltfJson , materialJson , material ) : void ; setUVTransformToTexture ? ( material , samplerJson ) : void ; loadExtensionInfoAndSetToRootGroup ? ( rootGroup , json ) : void ; }