#include <DeviceAttributeGPUModel.h>
Inherits AzFramework::DeviceAttribute.
Public Member Functions | |
| DeviceAttributeGPUModel (const AZStd::vector< AZStd::string_view > &value) | |
| AZStd::string_view | GetName () const override |
| Get the name of the device attribute e.g. gpuMemory, gpuVendor, customAttribute42. | |
| AZStd::string_view | GetDescription () const override |
| Get a description of this device attribute, used for help text and eventual UI. | |
| AZStd::any | GetValue () const override |
| Get the value of this attribute. | |
| bool | Evaluate (AZStd::string_view rule) const override |
| Evaluate a rule and return true if there is a match for this device attribute. | |
Public Member Functions inherited from AzFramework::DeviceAttribute | |
| AZ_RTTI (DeviceAttribute, "{8B7AF778-DD8A-4AFA-8416-EA2D03080F29}") | |
Protected Attributes | |
| AZStd::string | m_name = "GPUModel" |
| AZStd::string | m_description = "Model of the GPU(s) being used." |
| AZStd::vector< AZStd::string > | m_value |
Device attribute for getting the GPU(s) model name. It will match against any of the GPUs being used.
|
overridevirtual |
Evaluate a rule and return true if there is a match for this device attribute.
Implements AzFramework::DeviceAttribute.
|
overridevirtual |
Get a description of this device attribute, used for help text and eventual UI.
Implements AzFramework::DeviceAttribute.
|
overridevirtual |
Get the name of the device attribute e.g. gpuMemory, gpuVendor, customAttribute42.
Implements AzFramework::DeviceAttribute.
|
overridevirtual |
Get the value of this attribute.
Implements AzFramework::DeviceAttribute.