How to display a video game at its native resolution in full screen?

If what you want is having the game centered with black bars around, you can set Gamescope to use integer scaling by passing --scaler integer.

AFAIK fullscreen scaling without gamescope is done in-game in all native Valve games on Linux and in anything run via Proton.