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

30 lines
648 B
C++

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