// 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 mu { struct FProgram; //--------------------------------------------------------------------------------------------- //! //--------------------------------------------------------------------------------------------- class ASTOpMeshClipDeform final : public ASTOp { public: ASTChild Mesh; ASTChild ClipShape; /** Strategy to decide when to cull a face. */ EFaceCullStrategy FaceCullStrategy = EFaceCullStrategy::AllVerticesCulled; public: ASTOpMeshClipDeform(); ASTOpMeshClipDeform(const ASTOpMeshClipDeform&) = delete; ~ASTOpMeshClipDeform(); EOpType GetOpType() const override { return EOpType::ME_CLIPDEFORM; } 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; virtual FSourceDataDescriptor GetSourceDataDescriptor(FGetSourceDataDescriptorContext*) const override; }; }