FMeshMaterialShaderType::BeginCompileShader

Enqueues a compilation for a new shader of this type.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/MeshMaterialShaderType.h

Include

#include "MeshMaterialShaderType.h"

Source

/Engine/Source/Runtime/Engine/Private/Materials/MeshMaterialShader.cpp

Syntax

void BeginCompileShader
(
    EShaderCompileJobPriority Priority,
    uint32 ShaderMapId,
    int32 PermutationId,
    EShaderPlatform Platform,
    EShaderPermutationFlags PermutationFlags,
    const FMaterial * Material,
    FSharedShaderCompilerEnvironment * MaterialEnvironment,
    const FVertexFactoryType * VertexFactoryType,
    TArray< TRefCountPtr< FShaderCommonCompileJob >> & NewJobs,
    FString DebugDescription,
    FString DebugExtension
) const

Remarks

Enqueues a compilation for a new shader of this type.

Parameters

Parameter

Description

Platform

The platform to compile for.

Material

The material to link the shader with.

VertexFactoryType

The vertex factory to compile with.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss