Generic implementation for most platforms, these tend to be unused and unimplemented
更多...
#include <GenericPlatformFramePacer.h>
|
|
bool | IsEnabled () |
| | Should the Frame Pacer be enabled?
|
| |
|
|
static void | Destroy () |
| | Teardown the Frame Pacer.
|
| |
|
static int32 | 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.
|
| |
| static int32 | SetFramePace (int32 FramePace) |
| | Sets the pace we would like to running at (30 = 30fps, 0 = unpaced). 更多...
|
| |
|
static bool | SupportsFramePace (int32 QueryFramePace) |
| | Rethers whether the hardware is able to frame pace at the specificed frame rate
|
| |
|
|
static int32 | GetFramePaceFromSyncInterval () |
| | The generic implementation returns a result based on rhi.SyncInterval assuming a 60Hz native refresh rate.
|
| |
| static int32 | SetFramePaceToSyncInterval (int32 FramePace) |
| | The generic sets rhi.SyncInterval assuming a 60Hz native refresh rate. 更多...
|
| |
Generic implementation for most platforms, these tend to be unused and unimplemented
◆ SetFramePace()
| static int32 FGenericPlatformRHIFramePacer::SetFramePace |
( |
int32 |
FramePace | ) |
|
|
static |
Sets the pace we would like to running at (30 = 30fps, 0 = unpaced).
The generic implementation sets the value for rhi.SyncInterval assuming a 60Hz native refresh rate.
- 返回
- the pace we will run at.
◆ SetFramePaceToSyncInterval()
| static int32 FGenericPlatformRHIFramePacer::SetFramePaceToSyncInterval |
( |
int32 |
FramePace | ) |
|
|
staticprotected |
The generic sets rhi.SyncInterval assuming a 60Hz native refresh rate.
- 返回
- the pace we will run at.
该结构体的文档由以下文件生成:
- GenericPlatformFramePacer.h