As each texture is stored in the imagestore, a mapping from filename to texture id is used to manage textures. For textures without file backing an alternative could be to use dedicated internal names e.g. by prefixing the filename of file backed textures, so the image store only loads file backed textures, but ignores embedded textures.