|
| static const char * | getShaderType (SHOP_TYPE type) |
| | Returns shader type name token for the given shader type. More...
|
| |
| static const char * | getShaderLabel (SHOP_TYPE type) |
| | Returns shader label for the given shader type. More...
|
| |
| static const char * | getIconName (SHOP_TYPE type) |
| | Return the icon name for the given shader type. More...
|
| |
| static const char * | getBundleFilter (SHOP_TYPE type) |
| | Return the name of internal bundle filter for shader of a given type. More...
|
| |
| static const UT_StringHolder & | getShaderParmPath (SHOP_TYPE type) |
| |
| static const char * | getShaderSpaceParm (SHOP_TYPE type) |
| | Return the parameter name that specifies the space for the shader. More...
|
| |
| static SHOP_TYPE | getShaderType (const char *name) |
| | Return the shader type given the shader type name. More...
|
| |
| static SHOP_TYPE | getTypeFromParm (const char *parmname) |
| | Return the shader type given the shader parameter name. More...
|
| |
| static SHOP_TYPE | getTypeFromSpaceParm (const char *parmname) |
| | Return the shader type from the space parameter name. More...
|
| |
| static bool | isValidShaderType (int i) |
| | Return true if the given integer representation of SHOP_TYPE is valid. More...
|
| |
| static bool | convertStringToOptions (UT_Options &options, const char *str) |
| | Convert a string like "{'foo':'bar','fum':(1,2,3)}' to a UT_Options. More...
|
| |
| static bool | hasParmRiType (OP_Node *node, const char *parmname) |
| | Returns true if the parmeter of the node has a RiType tag. More...
|
| |
| static bool | hasConnectedInput (OP_Node *node, PRM_Parm *parm) |
| |
| static bool | isCoShaderParm (const PRM_Parm *parm) |
| | Returns true if the parameter corresponds to a co-shader parameter. More...
|
| |
| static bool | isCoShaderArray (const PRM_Parm *parm) |
| | Returns true if the parameter corresponds to a coshader array parameter. More...
|
| |
|
| static const UT_PropertyTable * | getPropertyDefaults () |
| |
| static void | setPropertyDefaults (const UT_PropertyTable *table) |
| |
|
| static bool | isParmDefaultValue (OP_Node *node, PRM_Parm *parm, fpreal now, const UT_Options *options, bool check_input=false) |
| |
| static bool | isParmDefaultValue (OP_Node *node, const char *parmname, fpreal now, const UT_Options *options, bool check_input=false) |
| |
Contains shader utility functions.
Definition at line 25 of file SHOP_Util.h.