// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "MuR/Ptr.h" #include "MuR/RefCounted.h" #include "MuT/Node.h" #include "MuT/NodeImage.h" #include "MuT/NodeScalar.h" namespace mu { /** Change the saturation of an image.This node can be used to increase the saturation with a * factor bigger than 1, or to decrease it or desaturate it completely with a factor smaller * than 1 or 0. */ class MUTABLETOOLS_API NodeImageSaturate : public NodeImage { public: Ptr Source; Ptr Factor; public: // Node Interface virtual const FNodeType* GetType() const override { return &StaticType; } static const FNodeType* GetStaticType() { return &StaticType; } protected: /** Forbidden. Manage with the Ptr<> template. */ ~NodeImageSaturate() {} private: static FNodeType StaticType; }; }