Pool for GPU queries.
More...
#include <QueryPoolVulkan.h>
◆ GetTimestampResult()
Retrieves the timestamp value if it is available.
- Parameters
-
hTimestamp | The target timestamp to resolve. |
result | The time of the timestamp. If this is empty on success the timestamp has expired. |
bForce | Wait for the timestamp to become available. |
- Returns
- Returns false if the result is not available yet.
◆ Initialize()
void ezQueryPoolVulkan::Initialize |
( |
ezUInt32 |
uiValidBits | ) |
|
Initializes the pool.
- Parameters
-
uiValidBits | The number of valid bits in the query result. Each queue has different query characteristics and a separate pool is needed for each queue. |
◆ InsertTimestamp()
ezGALTimestampHandle ezQueryPoolVulkan::InsertTimestamp |
( |
vk::CommandBuffer |
commandBuffer, |
|
|
vk::PipelineStageFlagBits |
pipelineStage = vk::PipelineStageFlagBits::eBottomOfPipe |
|
) |
| |
Inserts a timestamp into the given command buffer.
- Parameters
-
commandBuffer | Target command buffer to insert the timestamp into. |
hTimestamp | Timestamp to insert. After insertion the only valid option is to call GetTimestampResult. |
pipelineStage | The value of the timestamp will be the point in time in which all previously committed commands have finished this stage. |
The documentation for this class was generated from the following files:
- /home/runner/work/ezEngine/ezEngine/Code/Engine/RendererVulkan/Pools/QueryPoolVulkan.h
- /home/runner/work/ezEngine/ezEngine/Code/Engine/RendererVulkan/Pools/Implementation/QueryPoolVulkan.cpp