Use texture reference instead of shared_ptr in console