39 static const char *getShaderLabel(
SHOP_TYPE type);
42 static const char *getIconName(
SHOP_TYPE type);
45 static const char *getBundleFilter(
SHOP_TYPE type);
49 static const char *getShaderParmPath(
SHOP_TYPE type);
52 static const char *getShaderSpaceParm(
SHOP_TYPE type);
58 static SHOP_TYPE getTypeFromParm(
const char *parmname);
61 static SHOP_TYPE getTypeFromSpaceParm(
const char *parmname);
64 static bool isValidShaderType(
int i);
67 static bool convertStringToOptions(
UT_Options &options,
75 bool check_input =
false);
76 static bool isParmDefaultValue(
OP_Node *node,
const char *parmname,
78 bool check_input =
false);
82 static bool hasParmRiType(
OP_Node *node,
const char *parmname);
89 static bool isCoShaderParm(
const PRM_Parm *parm );
92 static bool isCoShaderArray(
const PRM_Parm *parm );
Contains shader utility functions.
GLuint const GLchar * name
A map of string to various well defined value types.
GLint GLint GLsizei GLint GLenum GLenum type