You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#jira UE-223488 #rb jordi.rovira #tests Editor #rnx #virtualized [CL 36035608 by alexei lebedev in ue5-main branch]
35 lines
958 B
C++
35 lines
958 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
#include "MuT/NodeImageConstant.h"
|
|
|
|
#include "Misc/AssertionMacros.h"
|
|
#include "MuR/Image.h"
|
|
#include "MuR/Serialisation.h"
|
|
#include "MuT/NodePrivate.h"
|
|
|
|
|
|
namespace mu
|
|
{
|
|
|
|
//---------------------------------------------------------------------------------------------
|
|
// Static initialisation
|
|
//---------------------------------------------------------------------------------------------
|
|
FNodeType NodeImageConstant::StaticType = FNodeType(Node::EType::ImageConstant, NodeImage::GetStaticType());
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------
|
|
void NodeImageConstant::SetValue(const Image* Value)
|
|
{
|
|
Proxy = new ResourceProxyMemory<Image>(Value);
|
|
}
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------
|
|
void NodeImageConstant::SetValue(Ptr<ResourceProxy<Image>> InProxy)
|
|
{
|
|
Proxy = InProxy;
|
|
}
|
|
|
|
}
|