FOpenGLBufferedGPUTiming

This class has multiple inheritance but really [FGPUTiming](API\Runtime\RHI\FGPUTiming) is a static class.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FGPUTiming

FOpenGLBufferedGPUTiming

References

Module

OpenGLDrv

Header

/Engine/Source/Runtime/OpenGLDrv/Public/OpenGLDrv.h

Include

#include "OpenGLDrv.h"

Syntax

class FOpenGLBufferedGPUTiming : public FGPUTiming

Remarks

This class has multiple inheritance but really FGPUTiming is a static class.

Constructors

Name Description

Public function

FOpenGLBufferedGPUTiming

(
    FOpenGLDynamicRHI* InOpenGLRHI,
    int32 BufferSize
)

Constructor.

Functions

Name Description

Public function

void

 

EndTiming()

End a GPU timing measurement.

Public function

uint64

 

GetTiming

(
    bool bGetCurrentResultsAndBlock
)

Retrieves the most recently resolved timing measurement.

Public function

void

 

InitResources()

Public function

void

 

ReleaseResources()

Releases all OpenGL resources.

Public function

void

 

StartTiming()

Start a GPU timing measurement.