MaterialX 1.39.1
Loading...
Searching...
No Matches
BlurNodeGlsl.h
1//
2// Copyright Contributors to the MaterialX Project
3// SPDX-License-Identifier: Apache-2.0
4//
5
6#ifndef MATERIALX_BLURNODEGLSL_H
7#define MATERIALX_BLURNODEGLSL_H
8
10
11#include <MaterialXGenShader/Nodes/BlurNode.h>
12
13MATERIALX_NAMESPACE_BEGIN
14
16class MX_GENGLSL_API BlurNodeGlsl : public BlurNode
17{
18 public:
19 static ShaderNodeImplPtr create();
20 void emitSamplingFunctionDefinition(const ShaderNode& node, GenContext& context, ShaderStage& stage) const override;
21};
22
23MATERIALX_NAMESPACE_END
24
25#endif
Macros for declaring imported and exported symbols.
shared_ptr< ShaderNodeImpl > ShaderNodeImplPtr
Shared pointer to a ShaderNodeImpl.
Definition: Library.h:40
Blur node implementation for GLSL.
Definition: BlurNodeGlsl.h:17
void emitSamplingFunctionDefinition(const ShaderNode &node, GenContext &context, ShaderStage &stage) const override
Emit function definitions for sampling functions used by this node.
Blur node implementation.
Definition: BlurNode.h:15
A context class for shader generation.
Definition: GenContext.h:31
Class representing a node in the shader generation DAG.
Definition: ShaderNode.h:320
A shader stage, containing the state and resulting source code for the stage.
Definition: ShaderStage.h:139