Files
UnrealEngine/Engine/Source/Developer/ShaderFormatOpenGL/Public/ShaderFormatOpenGL.h
2025-05-18 13:04:45 +08:00

41 lines
959 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Containers/Array.h"
#include "Containers/Map.h"
#include "Containers/UnrealString.h"
#include "CoreMinimal.h"
#include "HAL/Platform.h"
#include "RHIDefinitions.h"
#include "Templates/SharedPointer.h"
#include "hlslcc.h"
class FArchive;
#if PLATFORM_WINDOWS
#include "Windows/WindowsHWrapper.h"
#endif
class FShaderCompilerFlags;
struct FShaderCompilerInput;
struct FShaderCompilerOutput;
enum GLSLVersion
{
GLSL_150_REMOVED,
GLSL_430_REMOVED,
GLSL_ES2_REMOVED,
GLSL_ES2_WEBGL_REMOVED,
GLSL_150_ES2_DEPRECATED, // ES2 Emulation
GLSL_150_ES2_NOUB_DEPRECATED, // ES2 Emulation with NoUBs
GLSL_150_ES3_1, // ES3.1 Emulation
GLSL_ES2_IOS_REMOVED,
GLSL_310_ES_EXT_REMOVED,
GLSL_ES3_1_ANDROID,
GLSL_SWITCH UE_DEPRECATED(5.5, "no longer supported in this shader backend"),
GLSL_SWITCH_FORWARD UE_DEPRECATED(5.5, "no longer supported in this shader backend"),
GLSL_MAX
};