mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +01:00
33 lines
612 B
C
33 lines
612 B
C
|
#pragma once
|
||
|
|
||
|
#include "dxvk_hud_text.h"
|
||
|
|
||
|
namespace dxvk::hud {
|
||
|
|
||
|
/**
|
||
|
* \brief Device info display for the HUD
|
||
|
*
|
||
|
* Displays the name of the device, as well as
|
||
|
* the driver version and Vulkan API version.
|
||
|
*/
|
||
|
class HudDeviceInfo {
|
||
|
|
||
|
public:
|
||
|
|
||
|
HudDeviceInfo(const Rc<DxvkDevice>& device);
|
||
|
~HudDeviceInfo();
|
||
|
|
||
|
HudPos renderText(
|
||
|
const Rc<DxvkContext>& context,
|
||
|
HudTextRenderer& renderer,
|
||
|
HudPos position);
|
||
|
|
||
|
private:
|
||
|
|
||
|
std::string m_deviceName;
|
||
|
std::string m_driverVer;
|
||
|
std::string m_vulkanVer;
|
||
|
|
||
|
};
|
||
|
|
||
|
}
|