![]() |
Plasma Engine
2.0
|
Pool for GPU queries. More...
#include <QueryPoolDX11.h>
Public Member Functions | |
plQueryPoolDX11 (plGALDeviceDX11 *pDevice) | |
plResult | Initialize () |
Initializes the pool. | |
void | DeInitialize () |
void | BeginFrame () |
void | EndFrame () |
plGALTimestampHandle | InsertTimestamp () |
plEnum< plGALAsyncResult > | GetTimestampResult (plGALTimestampHandle hTimestamp, plTime &out_result) |
Retrieves the timestamp value if it is available. | |
plGALPoolHandle | BeginOcclusionQuery (plEnum< plGALQueryType > type) |
void | EndOcclusionQuery (plGALPoolHandle hPool) |
plEnum< plGALAsyncResult > | GetOcclusionQueryResult (plGALPoolHandle hPool, plUInt64 &out_uiQueryResult) |
Pool for GPU queries.
plEnum< plGALAsyncResult > plQueryPoolDX11::GetTimestampResult | ( | plGALTimestampHandle | hTimestamp, |
plTime & | 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. |