46 lines
926 B
C++
46 lines
926 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "MuR/Image.h"
|
|
#include "MuR/Ptr.h"
|
|
#include "MuR/RefCounted.h"
|
|
#include "MuT/Node.h"
|
|
#include "MuT/NodeImage.h"
|
|
#include "MuT/NodeRange.h"
|
|
|
|
namespace mu
|
|
{
|
|
|
|
/** This node applies any numbre of layer blending effect on a base image using a mask and a
|
|
* blended image. The number of layers depends on a scalar input of this node.
|
|
*/
|
|
class MUTABLETOOLS_API NodeImageMultiLayer : public NodeImage
|
|
{
|
|
public:
|
|
|
|
Ptr<NodeImage> Base;
|
|
Ptr<NodeImage> Mask;
|
|
Ptr<NodeImage> Blended;
|
|
Ptr<NodeRange> Range;
|
|
EBlendType Type;
|
|
|
|
public:
|
|
|
|
// Node Interface
|
|
virtual const FNodeType* GetType() const override { return &StaticType; }
|
|
static const FNodeType* GetStaticType() { return &StaticType; }
|
|
|
|
protected:
|
|
|
|
/** Forbidden. Manage with the Ptr<> template. */
|
|
~NodeImageMultiLayer() {}
|
|
|
|
private:
|
|
|
|
static FNodeType StaticType;
|
|
|
|
};
|
|
|
|
}
|