FMaterialShaderType::BeginCompileShader

Enqueues a compilation for a new shader of this type.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/MaterialShaderType.h

Include

#include "MaterialShaderType.h"

Source

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

Syntax

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
)

Remarks

Enqueues a compilation for a new shader of this type.

Parameters

Parameter

Description

Material

The material to link the shader 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