update: add lookup method for textures.