Navigation
API > API/Developer > API/Developer/TargetPlatform > API/Developer/TargetPlatform/Common
Inheritance Hierarchy
- ITargetPlatform
- FTargetPlatformBase
- TTargetPlatformBase
- TNonDesktopTargetPlatformBase
References
| Module | TargetPlatform |
| Header | /Engine/Source/Developer/TargetPlatform/Public/Common/TargetPlatformBase.h |
| Include | #include "Common/TargetPlatformBase.h" |
Syntax
class FTargetPlatformBase : public ITargetPlatform
Remarks
Base class for target platforms.
Variables
| Type | Name | Description | |
|---|---|---|---|
| const PlatformInfo::FTargetPlatformInfo * | PlatformInfo | Information about this platform | |
| int32 | PlatformOrdinal |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FTargetPlatformBase
(
const PlatformInfo::FTargetPlatformInfo*const InPlatformInfo |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddDependencySCArrayHelper
(
TArray< FString >& OutDependencies, |
Helper method to fill a dependencies array for the shader compiler with absolute paths, passing a relative path to the Engine as the parameter. | |
| void | AppendAnalyticsEventConfigArray
(
TArray< struct FAnalyticsEventAttribute >& AnalyticsParamArray, |
||
| void | AppendAnalyticsEventConfigBool
(
TArray< struct FAnalyticsEventAttribute >& AnalyticsParamArray, |
Analytics helper functions | |
| void | AppendAnalyticsEventConfigFloat
(
TArray< struct FAnalyticsEventAttribute >& AnalyticsParamArray, |
||
| void | AppendAnalyticsEventConfigInt
(
TArray< struct FAnalyticsEventAttribute >& AnalyticsParamArray, |
||
| void | AppendAnalyticsEventConfigString
(
TArray< struct FAnalyticsEventAttribute >& AnalyticsParamArray, |
||
| const Audio::FAudioFormatSettings & |
Overridden from ITargetPlatform
| Type | Name | Description | |
|---|---|---|---|
| bool | Add a target device by name. | ||
| bool | Add a target device. | ||
| bool | Checks whether this platform will allow development objects to be cooked. | ||
| bool | Checks whether this platform will allow editor objects to be cooked, as opposed to editoronly properties. | ||
| bool | Checks whether this platform supports shader compilation over XGE interface. | ||
| int32 | CheckRequirements
(
bool bProjectHasCode, |
Checks whether the platform's build requirements are met so that we can do things like package for the platform. | |
| bool | Copy a file to the target | ||
| FText | DisplayName () |
Gets the platform's display name. | |
| bool | Gets whether the platform will use SH2 instead of SH3 for sky irradiance. | ||
| void | Project settings to check to determine if a build should occur | ||
| FConfigCacheIni * | Returns the config system object usable by this TargetPlatform. It should not be modified in anyway | ||
| TSharedPtr< IDeviceManagerCustomPlatformWidgetCreator > | Returns custom DeviceManager widget creator for this platform | ||
| float | Gets down sample mesh distance field divider. | ||
| void | GetExtraPackagesToCook
(
TArray< FName >& PackageNames |
Gets a list of package names to cook when cooking this platform | |
| int32 | Gets an integer representing the height fog mode for opaque materials on a platform. | ||
| const FDataDrivenPlatformInfo & | Returns the information about the platform as a whole | ||
| int32 | Get unique integer identifier for this platform. | ||
| void | GetPlatformSpecificProjectAnalytics
(
TArray< struct FAnalyticsEventAttribute >& AnalyticsParamArray |
Gather per-project cook/package analytics | |
| void | GetRayTracingShaderFormats
(
TArray< FName >& OutFormats |
Gets the shader formats that support ray tracing for this target platform. | |
| void | GetShaderCompilerDependencies
(
TArray< FString >& OutDependencies |
Provide platform specific file dependency patterns for SN-DBS shader compilation. | |
| EOfflineBVHMode | Gets static mesh offline BVH mode | ||
| const PlatformInfo::FTargetPlatformInfo & | Returns the information about this target platform | ||
| float | Gets the variant priority of this platform | ||
| bool | Initializes the host platform to support target devices (may be called multiple times after an SDK is installed while running) | ||
| bool | IsEnabledForPlugin
(
const IPlugin& Plugin |
Checks whether this platform is enabled for the given plugin in the currently active project. | |
| bool | IsSdkInstalled
(
bool bProjectHasCode, |
Checks whether the platform's SDK requirements are met so that we can do things like package for the platform | |
| bool | PackageBuild
(
const FString& InPackgeDirectory |
Package a build for the given platform | |
| bool | RequiresTempTarget
(
bool bProjectHasCode, |
Checks whether the current project needs a temporary .target.cs file to be packaged as a code project. | |
| bool | Whether or not to send all lower-case filepaths when connecting over a fileserver connection. | ||
| bool | ShouldExpandTo32Bit
(
const uint16* Indices, |
Returns wheter or not this 16bit index buffer should be promoted to 32bit | |
| bool | SupportsValueForType
(
FName SupportedType, |
Checks whether the target platform supports the specified value for the specified type of support | |
| bool | Returns true if the platform is part of a family of variants | ||
| bool | UsesASTCHDR () |
Gets whether the platform uses ASTC HDR | |
| bool | UsesDBuffer () |
Gets whether the platform should use DBuffer for decals. | |
| bool | Gets whether the platform will use distance fields. | ||
| bool | Gets whether the platform should use forward shading or not. | ||
| bool | Gets whether the platform uses Mobile AO | ||
| bool | Gets whether the platform will use ray tracing. | ||
| bool | Gets whether the platform will use selective outputs in the base pass shaders. | ||
| bool | Gets whether the platform will encode depth velocity. |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Use IsUsingBasePassVelocity(EShaderPlatform Platform) in renderutils that will uses FShaderPlatformCachedIniValue to retrieve the cvar value per platform. |