// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "HAL/Platform.h" #include "MuR/Operations.h" #include "MuR/Ptr.h" #include "MuT/AST.h" namespace UE::Mutable::Private { struct FProgram; /** Operations to add elements to a LOD. */ class ASTOpAddLOD final : public ASTOp { public: TArray< ASTChild > lods; public: ASTOpAddLOD(); ASTOpAddLOD(const ASTOpAddLOD&) = delete; ~ASTOpAddLOD(); EOpType GetOpType() const override { return EOpType::IN_ADDLOD; } uint64 Hash() const override; void ForEachChild(const TFunctionRef) override; bool IsEqual(const ASTOp& otherUntyped) const override; Ptr Clone(MapChildFuncRef mapChild) const override; void Link(FProgram& program, FLinkerOptions* Options) override; }; }