You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
27 lines
629 B
C
27 lines
629 B
C
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
||
|
|
|
||
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "MetasoundFrontendController.h"
|
||
|
|
|
||
|
|
namespace Metasound
|
||
|
|
{
|
||
|
|
namespace Frontend
|
||
|
|
{
|
||
|
|
/** Interface for transforms applied to documents. */
|
||
|
|
class IDocumentTransform
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
virtual ~IDocumentTransform() = default;
|
||
|
|
virtual bool Transform(FDocumentHandle InDocument) const = 0;
|
||
|
|
};
|
||
|
|
|
||
|
|
/** Adds or swaps root graph inputs and outputs to match the document's archetype. */
|
||
|
|
class METASOUNDFRONTEND_API FMatchRootGraphToArchetype : public IDocumentTransform
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
bool Transform(FDocumentHandle InDocument) const override;
|
||
|
|
};
|
||
|
|
}
|
||
|
|
}
|