40 static const char *getShaderLabel(
SHOP_TYPE type);
43 static const char *getIconName(
SHOP_TYPE type);
46 static const char *getBundleFilter(
SHOP_TYPE type);
53 static const char *getShaderSpaceParm(
SHOP_TYPE type);
59 static SHOP_TYPE getTypeFromParm(
const char *parmname);
62 static SHOP_TYPE getTypeFromSpaceParm(
const char *parmname);
65 static bool isValidShaderType(
int i);
68 static bool convertStringToOptions(
UT_Options &options,
76 bool check_input =
false);
77 static bool isParmDefaultValue(
OP_Node *node,
const char *parmname,
79 bool check_input =
false);
83 static bool hasParmRiType(
OP_Node *node,
const char *parmname);
90 static bool isCoShaderParm(
const PRM_Parm *parm );
93 static bool isCoShaderArray(
const PRM_Parm *parm );
Contains shader utility functions.
GLuint const GLchar * name
GLenum GLenum GLsizei void * table
A map of string to various well defined value types.