mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-09 22:46:08 +01:00
54ed8f0bb0
Co-authored-by: Philip Rebohle <philip.rebohle@tu-dortmund.de> Co-authored-by: Robin Kertels <robin.kertels@gmail.com> Co-authored-by: pchome <pchome@users.noreply.github.com> Co-authored-by: Christopher Egert <cme3000@gmail.com> Co-authored-by: Derek Lesho <dereklesho52@Gmail.com> Co-authored-by: Luis Cáceres <lacaceres97@gmail.com> Co-authored-by: Nelson Chen <crazysim@gmail.com> Co-authored-by: Edmondo Tommasina <edmondo.tommasina@gmail.com> Co-authored-by: Riesi <riesi@opentrash.com> Co-authored-by: gbMichelle <gbmichelle.dev@gmail.com>
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;
|
|
|
|
};
|
|
|
|
} |