Cemu/src/Cafe/HW/Latte/Core/LatteQueryObject.h
2022-08-22 22:21:23 +02:00

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{};
};