Home -> IGraphicsDevice -> GetDeviceName

Description

The GetDeviceName method returns a string containing the name of the graphics device, as reported by the graphics driver.

WarningWarning

There is no guarantee that device names will be presented in a consistent way between different devices released by the same vendor, different driver releases for the device, different render plugins for the same device, or even between different versions of the same renderer plugin. Device names are mostly provided for easy user identification, but due to a lack of a robust, standardized way to obtain device names in a consistent form from graphics drivers, it is not recommended to rely on the device name string to identify a device programmatically.

Usage

std::string GetDeviceName() const;

Return value

[std::string]
The name of device as reported by the graphics driver (in UTF-8 encoding)

See also