final Texture texture;
if (_importer.getTextureLocator() == null) {
texture = TextureManager.load(path, minFilter, _compressTextures ? TextureStoreFormat.GuessCompressedFormat
: TextureStoreFormat.GuessNoCompressedFormat, true);
} else {
final ResourceSource source = _importer.getTextureLocator().locateResource(path);
texture = TextureManager.load(source, minFilter,
_compressTextures ? TextureStoreFormat.GuessCompressedFormat
: TextureStoreFormat.GuessNoCompressedFormat, true);
}
_dataCache.addTexture(path, texture);