Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/MaterialShared.h |
Include |
#include "MaterialShared.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Materials/MeshMaterialShader.cpp |
uint32 BeginCompile
(
uint32 ShaderMapId,
const FMaterialShaderMapId & InShaderMapId,
const FMaterial * Material,
const FMeshMaterialShaderMapLayout & MeshLayout,
FShaderCompilerEnvironment * MaterialEnvironment,
EShaderPlatform Platform,
TArray< TSharedRef< FShaderCommonCompileJob, ESPMode::ThreadSafe >> & NewJobs,
FString DebugDescription,
FString DebugExtension
)
Enqueues compilation for all shaders for a material and vertex factory type.
Parameter |
Description |
---|---|
Material |
The material to compile shaders for. |
VertexFactoryType |
The vertex factory type to compile shaders for. |
Platform |
The platform to compile for. |