FGlobalShaderTypeCompiler

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "ShaderCompiler.h"

Syntax

class FGlobalShaderTypeCompiler

Functions

Name Description

Public function Static

void

 

BeginCompileShader

(
    const FGlobalShaderType* Shade...,
    int32 PermutationId,
    EShaderPlatform Platform,
    EShaderPermutationFlags Permutation...,
    TArray< FShaderCommonCompileJobPtr ...
)

Enqueues compilation of a shader of this type.

Public function Static

void

 

BeginCompileShaderPipeline

(
    EShaderPlatform Platform,
    EShaderPermutationFlags Permutation...,
    const FShaderPipelineType* Sha...,
    TArray< FShaderCommonCompileJobPtr ...
)

Enqueues compilation of a shader pipeline of this type.

Public function Static

FShader *...

 

FinishCompileShader

(
    const FGlobalShaderType* Shade...,
    const FShaderCompileJob& CompileJo...,
    const FShaderPipelineType* Sha...
)

Either returns an equivalent existing shader of this type, or constructs a new instance.

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