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

FShaderCompileJob * BeginCompileShader
(
    uint32 ShaderMapId,
    int32 PermutationId,
    EShaderPlatform Platform,
    const FMaterial * Material,
    FShaderCompilerEnvironment * MaterialEnvironment,
    FVertexFactoryType * VertexFactoryType,
    const FShaderPipelineType * ShaderPipeline,
    TArray< TSharedRef< FShaderCommonCompileJob, ESPMode::ThreadSafe >> & NewJobs,
    FString DebugDescription,
    FString DebugExtension
)

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