FTargetPlatform

Target platform identifier

Windows
MacOS
Linux

References

Module

TargetPlatform

Header

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

Include

#include "Interfaces/ITargetPlatform.h"

Syntax

struct FTargetPlatform

Remarks

Target platform identifier

This is really just a wrapper around an integer ordinal value, to prevent accidental mix-ups with other classes of integers. It also provides more context to a reader of the code.

Constructors

Name Description

Public function

FTargetPlatform

(
    const ITargetPlatform& Platform
)

Functions

Name Description

Public function Const

uint32

 

GetOrdinal()

Operators

Name Description

Public function Const

bool

 

operator<

(
    const FTargetPlatform& Other
)

Public function Const

bool

 

operator==

(
    const FTargetPlatform& Other
)

See Also