ezEngine  Release 25.03
ezQueryPoolDX11 Class Reference

Pool for GPU queries. More...

#include <QueryPoolDX11.h>

Public Member Functions

 ezQueryPoolDX11 (ezGALDeviceDX11 *pDevice)
 
ezResult Initialize ()
 Initializes the pool.
 
void DeInitialize ()
 
void BeginFrame ()
 
void EndFrame ()
 
ezGALTimestampHandle InsertTimestamp ()
 
ezEnum< ezGALAsyncResultGetTimestampResult (ezGALTimestampHandle hTimestamp, ezTime &out_result)
 Retrieves the timestamp value if it is available. More...
 
ezGALPoolHandle BeginOcclusionQuery (ezEnum< ezGALQueryType > type)
 
void EndOcclusionQuery (ezGALPoolHandle hPool)
 
ezEnum< ezGALAsyncResultGetOcclusionQueryResult (ezGALPoolHandle hPool, ezUInt64 &out_uiQueryResult)
 

Detailed Description

Pool for GPU queries.

Member Function Documentation

◆ GetTimestampResult()

ezEnum< ezGALAsyncResult > ezQueryPoolDX11::GetTimestampResult ( ezGALTimestampHandle  hTimestamp,
ezTime out_result 
)

Retrieves the timestamp value if it is available.

Parameters
hTimestampThe target timestamp to resolve.
resultThe time of the timestamp. If this is empty on success the timestamp has expired.
Returns
Returns false if the result is not available yet.

The documentation for this class was generated from the following files: