FShaderRecompileData

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/ShaderCompiler.h

Include

#include "ShaderCompiler.h"

Syntax

struct FShaderRecompileData

Variables

Name Description

Public variable

ODSCRecompileCo...

 

CommandType

What type of shaders to recompile. All, Changed, Global, or Material?

Public variable

TArray< uint8 >...

 

GlobalShaderMap

Global shader map, returned to the caller.

Public variable

TArray< FString...

 

MaterialsToLoad

Materials to load.

Public variable

TArray< uint8 >...

 

MeshMaterialMaps

Mesh materials, returned to the caller.

Public variable

TArray< FString...

 

ModifiedFiles

All filenames that have been changed during the shader compilation.

Public variable

FString

 

PlatformName

The platform name to compile for.

Public variable

EShaderPlatform

 

ShaderPlatform

Shader platform

Public variable

TArray< FODSCRe...

 

ShadersToRecompile

On-demand shader compiler payload.

Constructors

Name Description

Public function

FShaderRecompileData()

Default constructor.

Public function

FShaderRecompileData

(
    const FString& InPlatformName,
    TArray< FString >* OutModified...,
    TArray< uint8 >* OutMeshMateri...,
    TArray< uint8 >* OutGlobalShad...
)

Recompile all the changed shaders for the current platform.

Public function

FShaderRecompileData

(
    const FString& InPlatformName,
    EShaderPlatform InShaderPlatform,
    ODSCRecompileCommand InCommandType,
    TArray< FString >* OutModified...,
    TArray< uint8 >* OutMeshMateri...,
    TArray< uint8 >* OutGlobalShad...
)

For recompiling just global shaders.

Operators

Name Description

Public function

FShaderRecom...

 

operator=

(
    const FShaderRecompileData& Other
)