UMaterialExpressionLandscapeGrassOutput::Compile

Create the new shader code chunk needed for the Abs expression

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UMaterialExpression::Compile()

UMaterialExpressionLandscapeGrassOutput::Compile()

References

Module

Landscape

Header

/Engine/Source/Runtime/Landscape/Classes/Materials/MaterialExpressionLandscapeGrassOutput.h

Include

#include "Materials/MaterialExpressionLandscapeGrassOutput.h"

Source

/Engine/Source/Runtime/Landscape/Private/LandscapeGrass.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.