Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
Renderer::Backend::IDevice::StatisticsItem Struct Reference

Collects backend-specific statistics. More...

#include <IDevice.h>

Public Member Functions

 StatisticsItem (std::string_view name, std::string_view unit, std::variant< float, uint32_t > value)
 

Public Attributes

std::string_view name
 
std::string_view unit
 
std::variant< float, uint32_t > value
 

Detailed Description

Collects backend-specific statistics.

Constructor & Destructor Documentation

◆ StatisticsItem()

Renderer::Backend::IDevice::StatisticsItem::StatisticsItem ( std::string_view  name,
std::string_view  unit,
std::variant< float, uint32_t >  value 
)
inline

Member Data Documentation

◆ name

std::string_view Renderer::Backend::IDevice::StatisticsItem::name

◆ unit

std::string_view Renderer::Backend::IDevice::StatisticsItem::unit

◆ value

std::variant<float, uint32_t> Renderer::Backend::IDevice::StatisticsItem::value

The documentation for this struct was generated from the following file: