Files
UnrealEngineUWP/Engine/Source/Developer/ShaderFormatOpenGL/Private/ShaderFormatOpenGL.h
Rolando Caloca 6cb53ebc04 UE4 - OpenGL - Allow running emulated (packed/flattened) uniform buffers when running PC ES2; use OpenGL.UseEmulatedUBs=1 on your consolevariables.ini
- Only works with -game, not in-editor!
#codereview Allan.Bentham

[CL 2475392 by Rolando Caloca in Main branch]
2015-03-11 13:45:34 -04:00

19 lines
469 B
C

// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
enum GLSLVersion
{
GLSL_150,
GLSL_430,
GLSL_ES2,
GLSL_ES2_WEBGL,
GLSL_150_ES2, // ES2 Emulation
GLSL_150_ES2_NOUB, // ES2 Emulation with NoUBs
GLSL_ES2_IOS,
GLSL_150_MAC, // Apple only
GLSL_310_ES_EXT,
};
extern void CompileShader_Windows_OGL(const struct FShaderCompilerInput& Input,struct FShaderCompilerOutput& Output,const class FString& WorkingDirectory, GLSLVersion Version);