FOpenGLEventQuery

A OpenGL event query resource.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FRenderResource

FOpenGLEventQuery

References

Module

OpenGLDrv

Header

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

Include

#include "OpenGLResources.h"

Syntax

class FOpenGLEventQuery : public FRenderResource

Remarks

A OpenGL event query resource.

Constructors

Name Description

Public function

FOpenGLEventQuery

(
    FOpenGLDynamicRHI* InOpenGLRHI
)

Initialization constructor.

Functions

Name Description

Public function

void

 

IssueEvent()

Issues an event for the query to poll.

Public function

void

 

WaitForCompletion()

Waits for the event query to finish.

Overridden from FRenderResource

Name Description

Public function Virtual

void

 

InitDynamicRHI()

Initializes the dynamic RHI resource and/or RHI render target used by this resource.

Public function Virtual

void

 

ReleaseDynamicRHI()

Releases the dynamic RHI resource and/or RHI render target resources used by this resource.