How do you set the window resolution for a game?

How do you set camera render resolution?