Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/MaterialShaderType.h |
Include |
#include "MaterialShaderType.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Materials/MaterialShader.cpp |
void SetupCompileEnvironment
(
EShaderPlatform Platform,
const FMaterialShaderParameters & MaterialParameters,
int32 PermutationId,
FShaderCompilerEnvironment & Environment
)
Sets up the environment used to compile an instance of this shader type.
Parameter |
Description |
---|---|
Platform |
Platform to compile for. |
Environment |
The shader compile environment that the function modifies. |