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 BeginCompileShader
(
EShaderCompileJobPriority Priority,
uint32 ShaderMapJobId,
int32 PermutationId,
EShaderPlatform Platform,
EShaderPermutationFlags PermutationFlags,
const FMaterial * Material,
const FMaterialShaderMapId & ShaderMapId,
FSharedShaderCompilerEnvironment * MaterialEnvironment,
const FVertexFactoryType * VertexFactoryType,
TArray < TRefCountPtr < FShaderCommonCompileJob > > & NewJobs,
const FString & DebugGroupName,
const TCHAR * DebugDescription,
const TCHAR * DebugExtension
) const
Remarks
Enqueues a compilation for a new shader of this type.
Parameters
Name | Description |
---|---|
Platform | The platform to compile for. |
Material | The material to link the shader with. |
VertexFactoryType | The vertex factory to compile with. |