Although I woke up in a gown, covered with a blanket, I probably wouldn't have noticed if they had me on display in my birthday suit! Most of us are so "out of it" when we first awake that we don't pay any attention to things like wardrobe.
If you are worried about seeing all of your own tubes, bandages and gadgets, you will be groggy enough that even that won't bother you.
It is all sort of a foggy experience. The medical staff are really very good about helping us patients to preserve some last bit of dignity, as long as things are going smoothly. If the alarms go off, all modesty goes out the window and they do whatever needs to be done. After things calm down, you're back in your gown and blankie.
I had a few episodes like that whenever my monitor would flat-line when I was in CICU. Once they determined that I needed a pacemaker, then installed a temporary unit (until I could be scheduled for an implant), and things went back to calm and my wardrobe ceased to malfunction.