Files
UnrealEngine/Engine/Source/ThirdParty/MaterialX/MaterialX-1.38.10/source/MaterialXGenShader/Nodes/ClosureAddNode.h
2025-05-18 13:04:45 +08:00

29 lines
621 B
C++

//
// Copyright Contributors to the MaterialX Project
// SPDX-License-Identifier: Apache-2.0
//
#ifndef MATERIALX_CLOSUREADDNODE_H
#define MATERIALX_CLOSUREADDNODE_H
#include <MaterialXGenShader/ShaderNodeImpl.h>
MATERIALX_NAMESPACE_BEGIN
/// Closure add node implementation.
class MX_GENSHADER_API ClosureAddNode : public ShaderNodeImpl
{
public:
static ShaderNodeImplPtr create();
void emitFunctionCall(const ShaderNode& node, GenContext& context, ShaderStage& stage) const override;
/// String constants
static const string IN1;
static const string IN2;
};
MATERIALX_NAMESPACE_END
#endif