Module |
|
Header |
/Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/GenericPlatformFramePacer.h |
Include |
#include "GenericPlatform/GenericPlatformFramePacer.h" |
struct FGenericPlatformRHIFramePacer
Generic implementation for most platforms, these tend to be unused and unimplemented
Name | Description | ||
---|---|---|---|
|
Destroy() |
Teardown the Frame Pacer. |
|
|
GetFramePace() |
The pace we are running at (30 = 30fps, 0 = unpaced) The generic implementation returns a result based on rhi.SyncInterval assuming a 60Hz native refresh rate. |
|
|
GetFramePaceFromSyncInterval() |
The generic implementation returns a result based on rhi.SyncInterval assuming a 60Hz native refresh rate. |
|
|
IsEnabled() |
Should the Frame Pacer be enabled? |
|
|
SetFramePace ( |
Sets the pace we would like to running at (30 = 30fps, 0 = unpaced). |
|
|
SetFramePaceToSyncInterval ( |
The generic sets rhi.SyncInterval assuming a 60Hz native refresh rate. |
|
|
SupportsFramePace ( |
Rethers whether the hardware is able to frame pace at the specificed frame rate |