Use reference in TextureManager