FOpenGLRenderQuery

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
)

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback