| ITargetPlatform
|
Module |
|
Header |
/Engine/Source/Developer/TargetPlatform/Public/Interfaces/ITargetPlatform.h |
Include |
#include "Interfaces/ITargetPlatform.h" |
class ITargetPlatform
Interface for target platforms.
This interface provides an abstraction for cooking platforms and enumerating actual target devices.
Name | Description | |
---|---|---|
|
~ITargetPlatform() |
Virtual destructor. |
Name | Description | ||
---|---|---|---|
|
AddDevice |
Add a target device by name. |
|
|
AddDevice |
Add a target device. |
|
|
AllowsEditorObjects() |
Checks whether this platform will allow editor objects to be cooked, as opposed to editoronly properties. |
|
|
AssignPlatformOrdinal ( |
||
|
CanSupportRemoteShaderCompile() |
Checks whether this platform supports shader compilation over XGE interface. |
|
|
CheckRequirements |
Checks whether the platform's build requirements are met so that we can do things like package for the platform. |
|
|
CookingDeviceProfileName() |
Gets the name of the device profile to use when cooking this TargetPlatform |
|
|
CopyFileToTarget |
Copy a file to the target |
|
|
DisplayName() |
Gets the platform's display name. |
|
|
EnableDeviceCheck ( |
Enables/Disable the device check |
|
|
ForcesSimpleSkyDiffuse() |
Gets whether the platform will use SH2 instead of SH3 for sky irradiance. |
|
|
GenerateStreamingInstallManifest |
Generates a platform specific asset manifest given an array of FAssetData. |
|
|
GetAllDevices ( |
Returns all discoverable physical devices. |
|
|
GetAllPossibleShaderFormats |
Gets the shader formats this platform can use. |
|
|
GetAllTargetedShaderFormats |
Gets the shader formats that have been selected for this target platform |
|
|
GetBuildProjectSettingKeys |
Project settings to check to determine if a build should occur |
|
|
FConfigCache... |
GetConfigSystem() |
Returns the config system object usable by this TargetPlatform. It should not be modified in anyway |
|
TSharedPtr< ... |
GetCustomWidgetCreator() |
Returns custom DeviceManager widget creator for this platform |
|
ITargetDevic... |
GetDefaultDevice() |
Gets the default device. that not all platforms may have a notion of default devices. |
|
ITargetDevic... |
GetDevice ( |
Gets an interface to the specified device. |
|
float |
GetDownSampleMeshDistanceFieldDivider() |
Gets down sample mesh distance field divider. |
|
GetExtraPackagesToCook |
Gets a list of package names to cook when cooking this platform |
|
|
GetHeightFogModeForOpaque() |
Gets an integer representing the height fog mode for opaque materials on a platform. |
|
|
GetMemoryMappingAlignment() |
Gets the alignment of memory mapping for this platform, typically the page size. |
|
|
const ITarge... |
GetPlatformFromOrdinal ( |
Given a platform ordinal number, returns the corresponding ITargetPlatform instance |
|
const FDataD... |
GetPlatformInfo() |
Returns the information about the platform as a whole |
|
GetPlatformOrdinal() |
Get unique integer identifier for this platform. |
|
|
EBuildTarget... |
GetRuntimePlatformType() |
Return the TargetType this platform uses at runtime. |
|
GetShaderCompilerDependencies |
Provide platform specific file dependency patterns for SN-DBS shader compilation. |
|
|
const Platfo... |
GetTargetPlatformInfo() |
Returns the information about this target platform |
|
float |
GetVariantPriority() |
Gets the variant priority of this platform |
|
GetZlibReplacementFormat() |
Gets a new compression format to use in place of Zlib. This should be rarely implemented |
|
|
HasEditorOnlyData() |
Checks whether this platform has only editor data (typically desktop platforms). |
|
|
HasSecurePackageFormat() |
Checks whether this platform has a secure shippable package format, and therefore doesn't need any encryption or signing support |
|
|
IniPlatformName() |
Gets the platform's INI name (so an offline tool can load the INI for the given target platform). |
|
|
InitializeHostPlatform() |
Initializes the host platform to support target devices (may be called multiple times after an SDK is installed while running) |
|
|
IsClientOnly() |
Checks whether this platform is only a client (and must connect to a server to run). |
|
|
IsEnabledForPlugin ( |
Checks whether this platform is enabled for the given plugin in the currently active project. |
|
|
IsLittleEndian() |
Checks whether this platform is little endian. |
|
|
IsRunningPlatform() |
Checks whether this platform is the platform that's currently running. |
|
|
IsSdkInstalled |
Checks whether the platform's SDK requirements are met so that we can do things like package for the platform |
|
|
IsServerOnly() |
Checks whether this platform is only a server. |
|
|
FOnTargetDev... |
OnDeviceDiscovered() |
|
|
FOnTargetDev... |
OnDeviceLost() |
|
|
PackageBuild ( |
Package a build for the given platform |
|
|
PlatformName() |
Returns the name of this platform |
|
|
RefreshSettings() |
Give the platform a chance to refresh internal settings before a cook, etc |
|
|
RequiresCookedData() |
Checks whether this platform requires cooked data (typically console platforms). |
|
|
RequiresTempTarget ( |
Checks whether the current project needs a temporary .target.cs file to be packaged as a code project. |
|
|
EPlatformAut... |
RequiresUserCredentials() |
Checks whether this platform requires user credentials (typically server platforms). |
|
SendLowerCaseFilePaths() |
Whether or not to send all lower-case filepaths when connecting over a fileserver connection. |
|
|
ShouldExpandTo32Bit |
Returns wheter or not this 16bit index buffer should be promoted to 32bit |
|
|
SupportsAutoSDK() |
Returns true if the platform supports the AutoSDK system |
|
|
SupportsBuildTarget ( |
Checks whether this platform supports the specified build target, i.e. Game or Editor. |
|
|
SupportsFeature ( |
Checks whether the target platform supports the specified feature. |
|
|
SupportsValueForType |
Checks whether the target platform supports the specified value for the specified type of support |
|
|
SupportsVariants() |
Returns true if the platform is part of a family of variants |
|
|
UsesBasePassVelocity() |
Gets whether the platform should output velocity in the base pass. |
|
|
UsesDBuffer() |
Gets whether the platform should use DBuffer for decals. |
|
|
UsesDistanceFields() |
Gets whether the platform will use distance fields. |
|
|
UsesForwardShading() |
Gets whether the platform should use forward shading or not. |
|
|
UsesMobileAmbientOcclusion() |
Gets whether the platform uses Mobile AO |
|
|
UsesRayTracing() |
Gets whether the platform will use ray tracing. |
|
|
UsesSelectiveBasePassOutputs() |
Gets whether the platform will use selective outputs in the base pass shaders. |
|
|
VelocityEncodeDepth() |
Gets whether the platform will encode depth velocity. |
Name |
Description |
|
---|---|---|
|
FOnTargetDeviceDiscovered |
Gets an event delegate that is executed when a new target device has been discovered. |
|
FOnTargetDeviceLost |
Gets an event delegate that is executed when a target device has been lost, i.e. disconnected or timed out. |