FMeshMaterialShaderMap::BeginCompile

Enqueues compilation for all shaders for a material and vertex factory type.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/MaterialShared.h

Include

#include "MaterialShared.h"

Source

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

Syntax

uint32 BeginCompile
(
    uint32 ShaderMapId,
    const FMaterialShaderMapId & InShaderMapId,
    const FMaterial * Material,
    FShaderCompilerEnvironment * MaterialEnvironment,
    EShaderPlatform Platform,
    TArray< FShaderCommonCompileJob * > & NewJobs,
    FString DebugDescription,
    FString DebugExtension
)

Remarks

Enqueues compilation for all shaders for a material and vertex factory type.

Parameters

Parameter

Description

Material

The material to compile shaders for.

VertexFactoryType

The vertex factory type to compile shaders for.

Platform

The platform to compile for.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback