The power supply in your gaming PC is probably a ATX compliant power supply.
But to be sure, check what brand and model you have!
And if it a ATX compliant power supply, then the power button is a logic level type (5 volt). The signal is either called "PS_ON" or "PWR_ON" or similar.
A note as the Raspberry Pi uses 3,3volt logic you need a transistor/MOSFET or level converter to level up the signal.
See:
https://en.wikipedia.org/wiki/Power_supply_unit_(computer)
And why did I answer "probably" ? This is because you provided no "data" about your Gaming PC and I live by the rule
https://www.youtube.com/watch?v=4CKiC6BO8hE