mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-13 16:08:50 +01:00
31 lines
504 B
C
31 lines
504 B
C
|
#pragma once
|
||
|
|
||
|
#include "d3d9_device.h"
|
||
|
#include "../dxvk/hud/dxvk_hud_item.h"
|
||
|
|
||
|
namespace dxvk::hud {
|
||
|
|
||
|
/**
|
||
|
* \brief HUD item to display DXVK version
|
||
|
*/
|
||
|
class HudSamplerCount : public HudItem {
|
||
|
|
||
|
public:
|
||
|
|
||
|
HudSamplerCount(D3D9DeviceEx* device);
|
||
|
|
||
|
void update(dxvk::high_resolution_clock::time_point time);
|
||
|
|
||
|
HudPos render(
|
||
|
HudRenderer& renderer,
|
||
|
HudPos position);
|
||
|
|
||
|
private:
|
||
|
|
||
|
D3D9DeviceEx* m_device;
|
||
|
|
||
|
std::string m_samplerCount;
|
||
|
|
||
|
};
|
||
|
|
||
|
}
|