Home -> IGraphicsDevice -> GetVendorName

Description

The GetVendorName method returns a string containing the name of the vendor associated with the graphics device. Where a device is powered by a chipset designed by one manufacturer, but on a custom board designed and assembled by another, this will usually be the name of the chipset manufacturer. For example, a graphics card manufactured by Leadtek, but powered by an NVIDIA GPU, would report NVIDIA as the vendor. In some cases, the reported name may identify a software or driver stack instead of a hardware manufacturer.

WarningWarning

There is no guarantee that vendor names will be presented in a consistent way between different devices by that vendor, different driver releases for the device, different render plugins for the same device, or even between different versions of the same renderer plugin. If you need to be able to differentiate between particular vendors programmatically, you should use the GetVendor method instead.

ImportantImportant

It is not recommended to alter the behaviour of your application in any meaningful way based on the vendor alone. Instead, you should rely on reported characteristics of the device, such as supported features, in order to make decisions on how your program uses the hardware, as new devices by a given vendor may be significantly different to previous devices they have released. Information on vendor is provided for informational purposes only, such as for reporting or displaying information to the user.

Usage

std::string GetVendorName() const;

Return value

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

See also