You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
44 lines
829 B
C++
44 lines
829 B
C++
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "Core.h"
|
|
|
|
#include "hlslcc.h"
|
|
|
|
namespace CCT
|
|
{
|
|
class FRunInfo
|
|
{
|
|
public:
|
|
enum EBackend
|
|
{
|
|
BE_Metal,
|
|
BE_OpenGL,
|
|
BE_Invalid,
|
|
};
|
|
EHlslShaderFrequency Frequency;
|
|
EHlslCompileTarget Target;
|
|
FString Entry;
|
|
FString InputFile;
|
|
FString OutputFile;
|
|
EBackend BackEnd;
|
|
bool bRunCPP;
|
|
bool bUseNew;
|
|
bool bList;
|
|
bool bPreprocessOnly;
|
|
bool bForcePackedUBs;
|
|
|
|
FRunInfo();
|
|
bool Setup(const FString& InOptions, const TArray<FString>& InSwitches);
|
|
|
|
protected:
|
|
static EHlslShaderFrequency ParseFrequency(TArray<FString>& InOutSwitches);
|
|
static EHlslCompileTarget ParseTarget(TArray<FString>& InOutSwitches, EBackend& OutBackEnd);
|
|
};
|
|
|
|
void PrintUsage();
|
|
}
|
|
|
|
DECLARE_LOG_CATEGORY_EXTERN(LogCrossCompilerTool, Log, All);
|