// // Copyright Contributors to the MaterialX Project // SPDX-License-Identifier: Apache-2.0 // #ifndef MATERIALX_HWBLURNODE_H #define MATERIALX_HWBLURNODE_H #include #include MATERIALX_NAMESPACE_BEGIN /// Blur node implementation for Hw shader languages class MX_GENSHADER_API HwBlurNode : public BlurNode { public: HwBlurNode(const string& samplingIncludeFilename) : _samplingIncludeFilename(samplingIncludeFilename) {} virtual ~HwBlurNode() {} static ShaderNodeImplPtr create(const string& samplingIncludeFilename); void emitSamplingFunctionDefinition(const ShaderNode& node, GenContext& context, ShaderStage& stage) const override; private: string _samplingIncludeFilename; }; MATERIALX_NAMESPACE_END #endif