![]() |
ezEngine
Release 25.03
|
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< ezGALAsyncResult > | GetTimestampResult (ezGALTimestampHandle hTimestamp, ezTime &out_result) |
Retrieves the timestamp value if it is available. More... | |
ezGALPoolHandle | BeginOcclusionQuery (ezEnum< ezGALQueryType > type) |
void | EndOcclusionQuery (ezGALPoolHandle hPool) |
ezEnum< ezGALAsyncResult > | GetOcclusionQueryResult (ezGALPoolHandle hPool, ezUInt64 &out_uiQueryResult) |
Pool for GPU queries.
ezEnum< ezGALAsyncResult > ezQueryPoolDX11::GetTimestampResult | ( | ezGALTimestampHandle | hTimestamp, |
ezTime & | out_result | ||
) |
Retrieves the timestamp value if it is available.
hTimestamp | The target timestamp to resolve. |
result | The time of the timestamp. If this is empty on success the timestamp has expired. |