Navigation
API > API/Runtime > API/Runtime/OpenGLDrv
Inheritance Hierarchy
- FGPUProfiler
- FOpenGLGPUProfiler
References
| Module | OpenGLDrv |
| Header | /Engine/Source/Runtime/OpenGLDrv/Public/OpenGLDrv.h |
| Include | #include "OpenGLDrv.h" |
Syntax
struct FOpenGLGPUProfiler : public FGPUProfiler
Remarks
Encapsulates GPU profiling logic and data. There's only one global instance of this struct so it should only contain global data, nothing specific to a frame.
Variables
| Type | Name | Description | |
|---|---|---|---|
| int | CurrentGPUFrameQueryIndex | ||
| FOpenGLDisjointTimeStampQuery[MAX_GPUFRAMEQUERIES] | DisjointGPUFrameTimeQuery | ||
| uint32 | ExternalGPUTime | ||
| FOpenGLBufferedGPUTiming | FrameTiming | Used to measure GPU time per frame. | |
| TIndirectArray< FOpenGLEventNodeFrame > | GPUHitchEventNodeFrames | GPU hitch profile histories | |
| int32 | NestedFrameCount | Count the number of beginframe calls without matching endframe calls. | |
| FOpenGLDynamicRHI * | OpenGLRHI |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FOpenGLGPUProfiler
(
FOpenGLDynamicRHI* InOpenGLRHI |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BeginFrame
(
FOpenGLDynamicRHI* InRHI |
||
| void | Cleanup () |
||
| void | EndFrame () |
Overridden from FGPUProfiler
| Type | Name | Description | |
|---|---|---|---|
| FGPUProfilerEventNode * | CreateEventNode
(
const TCHAR* InName, |
||
| void | PopEvent () |
||
| void |
Constants
| Name | Description |
|---|---|
| MAX_GPUFRAMEQUERIES | Measuring GPU frame time with a disjoint query. |