6 #ifndef MATERIALX_CONVOLUTIONNODE_H
7 #define MATERIALX_CONVOLUTIONNODE_H
32 virtual void computeSampleOffsetStrings(
const string& sampleSizeName,
const string& offsetTypeString,
33 unsigned int filterWidth,
StringVec& offsetStrings)
const = 0;
41 void emitInputSamplesUV(
const ShaderNode& node,
43 float filterSize,
float filterOffset,
44 const string& sampleSizeFunctionUV,
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)
#define MATERIALX_NAMESPACE_END
virtual void createVariables(const ShaderNode &node, GenContext &context, Shader &shader) const