Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/MaterialShaderType.h |
Include |
#include "MaterialShaderType.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Materials/MaterialShader.cpp |
FShaderCompileJob * BeginCompileShader
(
uint32 ShaderMapId,
int32 PermutationId,
const FMaterial * Material,
FShaderCompilerEnvironment * MaterialEnvironment,
const FShaderPipelineType * ShaderPipeline,
EShaderPlatform Platform,
TArray< TSharedRef< FShaderCommonCompileJob, ESPMode::ThreadSafe >> & NewJobs,
const FString & DebugDescription,
const FString & DebugExtension
)
Enqueues a compilation for a new shader of this type.
Parameter |
Description |
---|---|
Material |
The material to link the shader with. |