#include <D3D11RHIPrivate.h>
◆ FD3D11BufferedGPUTiming()
| FD3D11BufferedGPUTiming::FD3D11BufferedGPUTiming |
( |
class FD3D11DynamicRHI * |
InD3DRHI, |
|
|
int32 |
InBufferSize |
|
) |
| |
Constructor.
- Parameters
-
| InD3DRHI | RHI interface |
| InBufferSize | Number of buffered measurements |
◆ CalibrateTimers()
◆ EndTiming()
| void FD3D11BufferedGPUTiming::EndTiming |
( |
| ) |
|
End a GPU timing measurement. The timing for this particular measurement will be resolved at a later time by the GPU.
◆ GetTiming()
| uint64 FD3D11BufferedGPUTiming::GetTiming |
( |
bool |
bGetCurrentResultsAndBlock = false | ) |
|
Retrieves the most recently resolved timing measurement. The unit is the same as for FPlatformTime::Cycles(). Returns 0 if there are no resolved measurements.
- Returns
- Value of the most recently resolved timing, or 0 if no measurements have been resolved by the GPU yet.
◆ InitRHI()
Initializes all D3D resources.
Initializes all D3D resources and if necessary, the static variables.
Reimplemented from FRenderResource.
◆ ReleaseRHI()
| void FD3D11BufferedGPUTiming::ReleaseRHI |
( |
| ) |
|
|
overridevirtual |
◆ StartTiming()
| void FD3D11BufferedGPUTiming::StartTiming |
( |
| ) |
|
Start a GPU timing measurement.
The documentation for this class was generated from the following files: