EVENGINE_API_FOUNDATION_INLINE public API.
更多...
#include <GpuInfo.h>
|
| virtual | ~IGpuInfo ()=default |
| | I gpu info.
|
| |
| virtual bool | gpuReady () const =0 |
| | Gpu ready.
|
| |
| virtual std::string | gpuName () const =0 |
| | Gpu name.
|
| |
| virtual std::string | gpuVendor () const =0 |
| | Gpu vendor.
|
| |
| virtual std::string | gpuDeviceType () const =0 |
| | Gpu device type.
|
| |
| virtual int | gpuMemoryTotalMB () const =0 |
| | Gpu memory total mb.
|
| |
EVENGINE_API_FOUNDATION_INLINE public API.
在文件 GpuInfo.h 第 18 行定义.
◆ ~IGpuInfo()
| virtual eve::caps::IGpuInfo::~IGpuInfo |
( |
| ) |
|
|
virtualdefault |
◆ gpuDeviceType()
| virtual std::string eve::caps::IGpuInfo::gpuDeviceType |
( |
| ) |
const |
|
pure virtual |
Gpu device type.
"discrete" | "integrated" | "virtual" | "cpu" | "webgpu" | "other".
◆ gpuMemoryTotalMB()
| virtual int eve::caps::IGpuInfo::gpuMemoryTotalMB |
( |
| ) |
const |
|
pure virtual |
◆ gpuName()
| virtual std::string eve::caps::IGpuInfo::gpuName |
( |
| ) |
const |
|
pure virtual |
◆ gpuReady()
| virtual bool eve::caps::IGpuInfo::gpuReady |
( |
| ) |
const |
|
pure virtual |
Gpu ready.
False until the backend has selected a physical device.
◆ gpuVendor()
| virtual std::string eve::caps::IGpuInfo::gpuVendor |
( |
| ) |
const |
|
pure virtual |
◆ capabilityName
| constexpr const char* eve::caps::IGpuInfo::capabilityName = "IGpuInfo" |
|
staticconstexpr |
该类的文档由以下文件生成: