Home -> IGraphicsDevice -> GetVendor
Description
The GetVendor method returns an entry from the Vendor enumeration, indicating the known 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 vendor may identify a software or driver stack instead of a hardware manufacturer.
Important
Where the vendor cannot be determined, or the vendor is not included in the enumeration as a known common vendor, the Unknown enumeration entry will be returned instead. In this case, the GetVendorName method may be able to return a string representing the name of the vendor.
Important
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
Vendor GetVendor() const;
Return value
- [Vendor]
- The vendor associated with the device as reported by the graphics driver.