mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-16 03:38:30 +12:00
14 lines
No EOL
347 B
C++
14 lines
No EOL
347 B
C++
#pragma once
|
|
|
|
class LatteQueryObject
|
|
{
|
|
public:
|
|
virtual bool getResult(uint64& numSamplesPassed) = 0;
|
|
virtual void begin() = 0;
|
|
virtual void end() = 0;
|
|
|
|
uint32 index{};
|
|
bool queryEnded{}; // set to true once the query is ended, but the result may not be available for some time after this
|
|
uint64 queryEventStart{};
|
|
uint64 queryEventEnd{};
|
|
}; |