Navigation
Unreal Engine C++ API Reference > Runtime > Engine > FMeshMaterialShaderType
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/MeshMaterialShaderType.h |
Include | #include "MeshMaterialShaderType.h" |
Source | /Engine/Source/Runtime/Engine/Private/Materials/MeshMaterialShader.cpp |
void SetupCompileEnvironment
&40;
EShaderPlatform Platform,
const FMaterialShaderParameters & MaterialParameters,
const FVertexFactoryType &42; VertexFactoryType,
int32 PermutationId,
EShaderPermutationFlags PermutationFlags,
FShaderCompilerEnvironment & Environment
&41; const
Remarks
Sets up the environment used to compile an instance of this shader type.
Parameters
Name | Description |
---|---|
Platform | Platform to compile for. |
Environment | The shader compile environment that the function modifies. |