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.