Texture has to be bound to a certain slot, includes cleanup, constness cleanup