Graphic settings (brightness, gamma?)

Hi, I’m working on the settings menu of my game and I can’t find documentation or any info on how to change the brightness with a slider. I have also seen some games have a gamma option and I would like to add it too. Can anyone help?

Best thing to do would be to go download this while its still free and explore how it is done or just use it directly

I’ll try it today! Thank you