2022-09-26 15:12:13 -04:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
2022-10-01 02:04:57 -04:00
|
|
|
#include "MuT/NodeImage.h"
|
2022-09-26 15:12:13 -04:00
|
|
|
|
2022-10-02 10:56:02 -04:00
|
|
|
#include "Misc/AssertionMacros.h"
|
2022-09-26 15:12:13 -04:00
|
|
|
|
|
|
|
|
namespace mu
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------
|
|
|
|
|
// Static initialisation
|
|
|
|
|
//---------------------------------------------------------------------------------------------
|
2024-06-10 04:10:54 -04:00
|
|
|
static FNodeType s_nodeImageType = FNodeType( Node::EType::Image, Node::GetStaticType() );
|
2022-09-26 15:12:13 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------
|
2024-01-18 03:27:38 -05:00
|
|
|
const FNodeType* NodeImage::GetType() const
|
2022-09-26 15:12:13 -04:00
|
|
|
{
|
|
|
|
|
return GetStaticType();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------
|
2024-01-18 03:27:38 -05:00
|
|
|
const FNodeType* NodeImage::GetStaticType()
|
2022-09-26 15:12:13 -04:00
|
|
|
{
|
|
|
|
|
return &s_nodeImageType;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|