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