40 lines
936 B
C++
40 lines
936 B
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 ASTOpMeshSetSkeleton final : public ASTOp
|
|
{
|
|
public:
|
|
|
|
ASTChild Source;
|
|
ASTChild Skeleton;
|
|
|
|
public:
|
|
|
|
ASTOpMeshSetSkeleton();
|
|
ASTOpMeshSetSkeleton(const ASTOpMeshSetSkeleton&) = delete;
|
|
~ASTOpMeshSetSkeleton();
|
|
|
|
// ASTOp interface
|
|
virtual EOpType GetOpType() const override { return EOpType::ME_SETSKELETON; }
|
|
virtual uint64 Hash() const override;
|
|
virtual bool IsEqual(const ASTOp&) const override;
|
|
virtual Ptr<ASTOp> Clone(MapChildFuncRef) const override;
|
|
virtual void ForEachChild(const TFunctionRef<void(ASTChild&)>) override;
|
|
virtual void Link(FProgram&, FLinkerOptions*) override;
|
|
virtual FSourceDataDescriptor GetSourceDataDescriptor(FGetSourceDataDescriptorContext*) const override;
|
|
};
|
|
|
|
}
|
|
|