FRenderQueryPool

A pool of render (e.g. occlusion/timer) queries which are allocated individually, and returned to the pool as a group.

Windows
MacOS
Linux

Syntax

class FRenderQueryPool

Remarks

A pool of render (e.g. occlusion/timer) queries which are allocated individually, and returned to the pool as a group.

Constructors

Name Description

Public function

FRenderQueryPool

(
    ERenderQueryType InQueryType
)

Destructors

Name Description

Public function Virtual

~FRenderQueryPool()

Functions

Name Description

Public function

FRenderQuery...

 

AllocateQuery()

Allocates an render query from the pool.

Public function Const

int32

 

GetAllocatedQueryCount()

Returns the number of currently allocated queries.

Public function

void

 

Release()

Releases all the render queries in the pool.

Public function

void

 

ReleaseQuery

(
    FRenderQueryRHIRef& Query
)

De-reference an render query, returning it to the pool instead of deleting it when the refcount reaches 0.

References

Module

Engine

Header

Runtime/Engine/Public/SceneUtils.h

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