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

26 lines
638 B
C++

//
// Copyright Contributors to the MaterialX Project
// SPDX-License-Identifier: Apache-2.0
//
#ifndef MATERIALX_HWIMAGECODENODE_H
#define MATERIALX_HWIMAGECODENODE_H
#include <MaterialXGenShader/Nodes/SourceCodeNode.h>
MATERIALX_NAMESPACE_BEGIN
/// Extending the SourceCodeNode with requirements for image nodes.
class MX_GENSHADER_API HwImageNode : public SourceCodeNode
{
public:
static ShaderNodeImplPtr create();
void addInputs(ShaderNode& node, GenContext& context) const override;
void setValues(const Node& node, ShaderNode& shaderNode, GenContext& context) const override;
};
MATERIALX_NAMESPACE_END
#endif