class render::EventQuery

Represents a GPU query that gets signaled when GPU starts processing the query.

Public

Constructors

EventQuery

EventQuery()

Methods

~EventQuery

virtual ~EventQuery()

Begin

virtual void Begin(GpuCommandBuffer &commandBuffer) = 0

Schedules the query for execution on the command buffer.

Once the GPU reaches this point the query will be set in the signaled state.

IsReady

virtual bool IsReady() const = 0

Checks if query results are ready.