ITargetDeviceService::GetDevice

Gets the target device for the supplied flavor, if no flavor is specified then the default device flavor is returned.

Unreal Engine C++ API Reference > Developer > TargetDeviceServices > ITargetDeviceService

References

   
Module TargetDeviceServices
Header /Engine/Source/Developer/TargetDeviceServices/Public/ITargetDeviceService.h
Include #include "ITargetDeviceService.h"
[TSharedPtr](API\Runtime\Core\Templates\TSharedPtr)< [ITargetDevice](API\Developer\TargetPlatform\Interfaces\ITargetDevice), ESPMode::ThreadSafe > GetDevice
(
    [FName](API\Runtime\Core\UObject\FName) InFlavor
) const

Remarks

Gets the target device for the supplied flavor, if no flavor is specified then the default device flavor is returned. A pointer to the target device.


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library