// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "HAL/PlatformMath.h" #include "MuR/Operations.h" #include "MuR/Ptr.h" #include "MuT/AST.h" namespace UE::Mutable::Private { struct FProgram; class ASTOpLayoutRemoveBlocks final : public ASTOp { public: ASTChild Source; ASTChild ReferenceLayout; public: ASTOpLayoutRemoveBlocks(); ASTOpLayoutRemoveBlocks(const ASTOpLayoutRemoveBlocks&) = delete; ~ASTOpLayoutRemoveBlocks(); EOpType GetOpType() const override { return EOpType::LA_REMOVEBLOCKS; } uint64 Hash() const override; bool IsEqual(const ASTOp& otherUntyped) const override; Ptr Clone(MapChildFuncRef mapChild) const override; void ForEachChild(const TFunctionRef) override; void Link(FProgram& program, FLinkerOptions* Options) override; void GetBlockLayoutSize(uint64 BlockId, int32* pBlockX, int32* pBlockY, FBlockLayoutSizeCache* cache) override; }; }