Choose your operating system:
Windows
macOS
Linux
| FShaderCompilerEnvironment
|
Module |
|
Header |
/Engine/Source/Runtime/RenderCore/Public/ShaderCore.h |
Include |
#include "ShaderCore.h" |
struct FShaderCompilerEnvironment
The environment used to compile a shader.
Name | Description | ||
---|---|---|---|
|
CompilerFlags |
||
|
FullPrecisionInPS |
Used for mobile platforms to allow per shader/material precision modes. |
|
|
IncludeVirtualPathToContentsMap |
Map of the virtual file path -> content. |
|
|
IncludeVirtualPathToExternalContentsMap |
||
|
RemoteServerData |
||
|
RenderTargetOutputFormatsMap |
||
|
ResourceTableMap |
||
|
ShaderFormatCVars |
||
|
const ITargetPl... |
TargetPlatform |
|
|
UniformBufferMap |
Name | Description | |
---|---|---|
|
FShaderCompilerEnvironment() |
Default constructor. |
|
FShaderCompilerEnvironment ( |
Initialization constructor. |
Name | Description | |
---|---|---|
|
~FShaderCompilerEnvironment() |
Used as a baseclasss, make sure we're not incorrectly destroyed through a baseclass pointer This will be expensive to destroy anyway, additional vcall overhead should be small |
Name | Description | ||
---|---|---|---|
|
const TMap< ... |
GetDefinitions() |
|
|
Merge ( |
||
|
SetDefine |
Works for TCHAR e.g. SetDefine(TEXT("NAME"), TEXT("Test")); e.g. SetDefine(TEXT("NUM_SAMPLES"), 1); e.g. SetDefine(TEXT("DOIT"), true); |
|
|
SetDefine |
||
|
SetDefine |
||
|
SetDefine |
||
|
SetDefine |
||
|
SetDefine ( |
||
|
SetRenderTargetOutputFormat ( |