ITargetPlatform::GetDevice

Gets an interface to the specified device.

Windows
MacOS
Linux

References

Module

TargetPlatform

Header

/Engine/Source/Developer/TargetPlatform/Public/Interfaces/ITargetPlatform.h

Include

#include "Interfaces/ITargetPlatform.h"

Syntax

ITargetDevicePtr GetDevice
(
    const FTargetDeviceId & DeviceId
)

Remarks

Gets an interface to the specified device.

Returns

The target device (can be nullptr).

Parameters

Parameter

Description

DeviceId

The identifier of the device to get.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss