Files
UnrealEngine/Engine/Plugins/Mutable/Source/MutableRuntime/Private/MuR/OpImageNormalCombine.h
2025-05-18 13:04:45 +08:00

32 lines
978 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "MuR/ImagePrivate.h"
#include "MuR/OpImageLayer.h"
#include "MuR/OpImageBlend.h"
namespace mu
{
inline void ImageNormalCombine(FImage* pResult, const FImage* pBase, FVector4f col)
{
ImageLayerCombineColour<CombineNormal>(pResult, pBase, col);
}
inline void ImageNormalCombine(FImage* pResult, const FImage* pBase, const FImage* pBlended, bool bOnlyFirstLOD)
{
ImageLayerCombine<CombineNormal>(pResult, pBase, pBlended, bOnlyFirstLOD);
}
inline void ImageNormalCombine(FImage* pResult, const FImage* pBase, const FImage* pMask, FVector4f col)
{
ImageLayerCombineColour<CombineNormal, CombineNormalMasked>(pResult, pBase, pMask, col);
}
inline void ImageNormalCombine(FImage* pResult, const FImage* pBase, const FImage* pMask, const FImage* pBlended, bool bOnlyFirstLOD)
{
ImageLayerCombine<CombineNormal, CombineNormalMasked>(pResult, pBase, pMask, pBlended, bOnlyFirstLOD);
}
}