18 #ifndef __HUSD_CreateMaterial_h__
19 #define __HUSD_CreateMaterial_h__
47 bool createMaterial(
VOP_Node &material_vop,
49 bool auto_create_preview_shader )
const;
52 bool updateShaderParameters(
VOP_Node &shader_vop,
64 bool createDerivedMaterial(
71 bool createLightFilter(
VOP_Node &light_filter_vop,
76 bool createPreviewShader(
81 bool deletePreviewShader(
86 bool hasPreviewShader(
const UT_StringRef &main_shader_path );
89 bool clearAutoCreateFlag(
const UT_StringRef &preview_shader_path );
93 { myTimeCode = time_code; }
98 { myParentType =
type; }
102 void addDependent(
OP_Node *node );
108 { myShouldReferenceRenderVars = flag; }
116 bool myShouldReferenceRenderVars =
false;
UT_IntrusivePtr< HUSD_Overrides > HUSD_OverridesPtr
void setParentPrimType(const UT_StringHolder &type)
A map of string to various well defined value types.
void setShouldReferenceRenderVars(bool flag)
void setTimeCode(const HUSD_TimeCode &time_code)
Sets the time code at which shader parameters are evaluated.