IShaderFormat::CompileShader

Compile the specified shader.

Windows
MacOS
Linux

References

Module

TargetPlatform

Header

/Engine/Source/Developer/TargetPlatform/Public/Interfaces/IShaderFormat.h

Include

#include "Interfaces/IShaderFormat.h"

Syntax

void CompileShader
(
    FName Format,
    const struct FShaderCompilerInput & Input,
    struct FShaderCompilerOutput & Output,
    const FString & WorkingDirectory
) const

Remarks

Compile the specified shader.

Parameters

Parameter

Description

Format

The desired format

Input

The input to the shader compiler.

Output

The output from shader compiler.

WorkingDirectory

The working directory.

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