Does virtual desktop on quest allow to play 3d games, or only 2d?

Hi, I have tried very hard to get virtual desktop working (for any game, e.g minecraft), and failed miserably. In Quest, I see a 2d black rectagle which I am guessing is the virtual desktop, and I hear the minecraft music via quest. I then realised that the virtual desktop might be only 2d, i.e. it plays 2d games on headset. Is this correct? Or can virtual desktop be used to play proper 3d? I cant find any decent tutorials or guides, it seems really difficult, even for a PC export, or am I missing something?