Files
UnrealEngineUWP/Engine/Source/Developer/Windows/WindowsTargetPlatform/Classes/WindowsTargetSettings.h
Terence Burns ed12de7f13 Added support to configure which target RHI's we desire on platforms.
User can now select target RHI's for windows under: Edit->Project Preferences->Windows->Targeted RHIs

Split up GetShaderFormats into GetAllPossibleShaderFormats and GetAllTargetedShaderFormats.
D3D11 and D3D10 remain the only two on, by default, for windows.

#ReviewedBy Nick.Penwarden

[CL 2068025 by Terence Burns in Main branch]
2014-05-09 08:51:44 -04:00

30 lines
791 B
C++

// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
/*=============================================================================
WindowsTargetSettings.h: Declares the UWindowsTargetSettings class.
=============================================================================*/
#pragma once
#include "WindowsTargetSettings.generated.h"
/**
* Implements the settings for the Windows target platform.
*/
UCLASS(config=Engine, defaultconfig)
class WINDOWSTARGETPLATFORM_API UWindowsTargetSettings
: public UObject
{
public:
GENERATED_UCLASS_BODY()
/**
* The collection of RHI's we want to support on this platform.
* This is not always the full list of RHI we can support.
*/
UPROPERTY(EditAnywhere, config, Category=Rendering)
TArray<FString> TargetedRHIs;
};