Open 3D Engine AzFramework API Reference 25.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AzFramework::DeviceAttributeDeviceModel Class Reference

Device attribute for getting device model name e.g. "Pixel 3 XL". More...

#include <DeviceAttributeDeviceModel.h>

Inherits AzFramework::DeviceAttribute.

Public Member Functions

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 = "DeviceModel"
 
AZStd::string m_description = "Device Model"
 
AZStd::string m_value = ""
 

Detailed Description

Device attribute for getting device model name e.g. "Pixel 3 XL".

Member Function Documentation

◆ Evaluate()

bool AzFramework::DeviceAttributeDeviceModel::Evaluate ( AZStd::string_view  rule) const
overridevirtual

Evaluate a rule and return true if there is a match for this device attribute.

Implements AzFramework::DeviceAttribute.

◆ GetDescription()

AZStd::string_view AzFramework::DeviceAttributeDeviceModel::GetDescription ( ) const
overridevirtual

Get a description of this device attribute, used for help text and eventual UI.

Implements AzFramework::DeviceAttribute.

◆ GetName()

AZStd::string_view AzFramework::DeviceAttributeDeviceModel::GetName ( ) const
overridevirtual

Get the name of the device attribute e.g. gpuMemory, gpuVendor, customAttribute42.

Implements AzFramework::DeviceAttribute.

◆ GetValue()

AZStd::any AzFramework::DeviceAttributeDeviceModel::GetValue ( ) const
overridevirtual

Get the value of this attribute.

Implements AzFramework::DeviceAttribute.


The documentation for this class was generated from the following file: