Files
UnrealEngine/Engine/Plugins/Mutable/Source/MutableTools/Private/MuT/ASTOpMeshMorphReshape.h
2025-05-18 13:04:45 +08:00

43 lines
1.1 KiB
C++

// 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 ASTOpMeshMorphReshape final : public ASTOp
{
public:
ASTChild Morph;
ASTChild Reshape;
public:
ASTOpMeshMorphReshape();
ASTOpMeshMorphReshape(const ASTOpMeshMorphReshape&) = delete;
~ASTOpMeshMorphReshape();
EOpType GetOpType() const override { return EOpType::ME_MORPHRESHAPE; }
uint64 Hash() const override;
bool IsEqual(const ASTOp& otherUntyped) const override;
Ptr<ASTOp> Clone(MapChildFuncRef mapChild) const override;
void ForEachChild(const TFunctionRef<void(ASTChild&)>) override;
void Link(FProgram& program, FLinkerOptions* Options) override;
virtual FSourceDataDescriptor GetSourceDataDescriptor(FGetSourceDataDescriptorContext*) const override;
};
}