6 #ifndef MATERIALX_CONVOLUTIONNODE_H
7 #define MATERIALX_CONVOLUTIONNODE_H
36 virtual void computeSampleOffsetStrings(
const string& sampleSizeName,
const string& offsetTypeString,
37 unsigned int filterWidth,
StringVec& offsetStrings)
const = 0;
45 void emitInputSamplesUV(
const ShaderNode& node,
47 float filterSize,
float filterOffset,
48 const string& sampleSizeFunctionUV,
MX_GENSHADER_API const std::array< float, 7 > GAUSSIAN_KERNEL_7
MX_GENSHADER_API const std::array< float, 5 > GAUSSIAN_KERNEL_5
bool acceptsInputType(const TypeDesc *type) const
#define MATERIALX_NAMESPACE_BEGIN
vector< string > StringVec
A vector of strings.
GLint GLint GLsizei GLint GLenum GLenum type
int & sampleCount(char *base, int xStride, int yStride, int x, int y)
MATERIALX_NAMESPACE_BEGIN MX_GENSHADER_API const std::array< float, 3 > GAUSSIAN_KERNEL_3
#define MATERIALX_NAMESPACE_END
virtual void createVariables(const ShaderNode &node, GenContext &context, Shader &shader) const