26 lines
569 B
C++
26 lines
569 B
C++
//
|
|
// Copyright Contributors to the MaterialX Project
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
|
|
#ifndef MATERIALX_BLURNODEOSL_H
|
|
#define MATERIALX_BLURNODEOSL_H
|
|
|
|
#include <MaterialXGenOsl/Export.h>
|
|
|
|
#include <MaterialXGenShader/Nodes/BlurNode.h>
|
|
|
|
MATERIALX_NAMESPACE_BEGIN
|
|
|
|
/// Blur node implementation for OSL
|
|
class MX_GENOSL_API BlurNodeOsl : public BlurNode
|
|
{
|
|
public:
|
|
static ShaderNodeImplPtr create();
|
|
void emitSamplingFunctionDefinition(const ShaderNode& node, GenContext& context, ShaderStage& stage) const override;
|
|
};
|
|
|
|
MATERIALX_NAMESPACE_END
|
|
|
|
#endif
|