Does anyone have example code or documentation on how to properly use a Custom Present callback? (https://docs.unrealengine.com/latest/INT/API/Runtime/RHI/FRHICustomPresent/index.html)
What I want to do is get a hook to every frame render so I can exactly check if frame rate was made or if a frame was instead duplicated. My understanding (which could be completely wrong) is that you can set up a custom present object via RHI which would have its Present function called every frame. However, it doesn’t seem to be doing that. I do get the OnBackBufferResize call when playing on VR, but no Present and no OnAcquireThreadOwnership is ever called.
I suspect this is because I don’t properly understand how this is supposed to work, but the online documentation is a bit lacking, and my google searches have come up bust. Can anyone help?