MaterialX 1.38.2
BlurNodeGlsl.h
1//
2// TM & (c) 2020 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd.
3// All rights reserved. See LICENSE.txt for license.
4//
5
6#ifndef MATERIALX_BLURNODEGLSL_H
7#define MATERIALX_BLURNODEGLSL_H
8
9#include <MaterialXGenShader/Nodes/BlurNode.h>
10
11namespace MaterialX
12{
13
15class BlurNodeGlsl : public BlurNode
16{
17 public:
18 static ShaderNodeImplPtr create();
19 void emitSamplingFunctionDefinition(const ShaderNode& node, GenContext& context, ShaderStage& stage) const override;
20};
21
22} // namespace MaterialX
23
24#endif
shared_ptr< ShaderNodeImpl > ShaderNodeImplPtr
Shared pointer to a ShaderNodeImpl.
Definition: Library.h:40
Blur node implementation for GLSL.
Definition: BlurNodeGlsl.h:16
void emitSamplingFunctionDefinition(const ShaderNode &node, GenContext &context, ShaderStage &stage) const override
Emit function definitions for sampling functions used by this node.
Definition: BlurNodeGlsl.cpp:21
Blur node implementation.
Definition: BlurNode.h:16
A context class for shader generation.
Definition: GenContext.h:27
Class representing a node in the shader generation DAG.
Definition: ShaderNode.h:326
A shader stage, containing the state and resulting source code for the stage.
Definition: ShaderStage.h:124