42 lines
782 B
C++
42 lines
782 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "HAL/Platform.h"
|
|
#include "MuR/Ptr.h"
|
|
#include "MuR/RefCounted.h"
|
|
#include "MuT/Node.h"
|
|
|
|
|
|
namespace mu
|
|
{
|
|
|
|
// Forward definitions
|
|
class NodeSurface;
|
|
typedef Ptr<NodeSurface> NodeSurfacePtr;
|
|
typedef Ptr<const NodeSurface> NodeSurfacePtrConst;
|
|
|
|
|
|
/** This class is the parent of all nodes that output a Surface. */
|
|
class MUTABLETOOLS_API NodeSurface : public Node
|
|
{
|
|
public:
|
|
|
|
// Node interface
|
|
virtual const FNodeType* GetType() const override { return &StaticType; }
|
|
static const FNodeType* GetStaticType() { return &StaticType; }
|
|
|
|
protected:
|
|
|
|
/** Forbidden. Manage with the Ptr<> template. */
|
|
inline ~NodeSurface() {}
|
|
|
|
private:
|
|
|
|
static FNodeType StaticType;
|
|
|
|
};
|
|
|
|
|
|
}
|