FOpenGLRenderQuery

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FRHIResource

FRHIRenderQuery

FOpenGLRenderQuery

References

Module

OpenGLDrv

Header

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

Include

#include "OpenGLResources.h"

Syntax

class FOpenGLRenderQuery : public FRHIRenderQuery

Variables

Name Description

Public variable

bool

 

bInvalidResource

True if the context the query is in was released from another thread

Public variable

bool

 

bResultWasSuccess

True if the context the query is in was released from another thread

Public variable

FOpenGLAssertRH...

 

CreationFence

Public variable

ERenderQueryTyp...

 

QueryType

Todo: memory optimize

Public variable

GLuint

 

Resource

The query resource.

Public variable

uint64

 

ResourceContext

Identifier of the OpenGL context the query is a part of.

Public variable

GLuint64

 

Result

The cached query result.

Public variable

FThreadSafeCoun...

 

TotalBegins

Public variable

FThreadSafeCoun...

 

TotalResults

Constructors

Name Description

Public function

FOpenGLRenderQuery

(
    ERenderQueryType InQueryType
)

Destructors

Name Description

Public function Virtual

~FOpenGLRenderQuery()

Functions

Name Description

Public function

void

 

AcquireResource()

Public function Static

void

 

ReleaseResource

(
    GLuint Resource,
    uint64 ResourceContext
)