There is any way to get current video mode refresh rate?

Hi all!

I’m coding a ViewportHelper class to expose some things to the blueprint system.

I know how to get all resolutions available, and which resolution is using the game viewport, but… i would like to get the current refresh rate and i don’t find anything.

If i’m right, the game viewport resolution can be obtained from this:
GEngine->GameViewport->Viewport->GetSizeXY()

And, if i call RHIGetAvailableResolutions, i get an array of FScreenResolutionRHI, that has a RefreshRate field.

But how can i get the CURRENT refresh rate?

See ya!

2 Likes

I’m looking for same answer