mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-15 19:28:29 +12:00
add: basic debug overlay
This commit is contained in:
parent
6bf3406793
commit
b105a383aa
6 changed files with 40 additions and 1 deletions
18
src/Cafe/HW/Latte/Renderer/Metal/MetalPerformanceMonitor.h
Normal file
18
src/Cafe/HW/Latte/Renderer/Metal/MetalPerformanceMonitor.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
#pragma once
|
||||
|
||||
class MetalPerformanceMonitor
|
||||
{
|
||||
public:
|
||||
size_t m_bufferAllocatorMemory = 0;
|
||||
|
||||
// Per frame data
|
||||
uint32 m_renderPasses = 0;
|
||||
|
||||
MetalPerformanceMonitor() = default;
|
||||
~MetalPerformanceMonitor() = default;
|
||||
|
||||
void ResetPerFrameData()
|
||||
{
|
||||
m_renderPasses = 0;
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue