UMaterialExpressionScalarParameter::Compile

Create the new shader code chunk needed for the Abs expression

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionScalarParameter.h

Include

#include "Materials/MaterialExpressionScalarParameter.h"

Source

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

Syntax

virtual int32 Compile
(
    class FMaterialCompiler * Compiler,
    int32 OutputIndex
)

Remarks

Create the new shader code chunk needed for the Abs expression

Returns

Index to the new FMaterialCompiler::CodeChunk entry for this expression

Parameters

Parameter

Description

Compiler

UMaterial compiler that knows how to handle this expression.