40 virtual void setDefaultNewPrimPath(
const char *
path) = 0;
42 virtual std::string defaultCollectionsPrimPath() = 0;
43 virtual void setDefaultCollectionsPrimPath(
const char *
path) = 0;
45 virtual std::string defaultCollectionsPrimType() = 0;
46 virtual void setDefaultCollectionsPrimType(
const char *primtype) = 0;
49 virtual void setDefaultLightsPrimPath(
const char *
path) = 0;
52 virtual void setDefaultCamerasPrimPath(
const char *
path) = 0;
55 virtual void setDefaultTransformSuffix(
const char *suffix) = 0;
57 virtual bool showResolvedPaths() = 0;
58 virtual void setShowResolvedPaths(
bool show_resolved_paths) = 0;
60 virtual bool panesFollowCurrentNode() = 0;
61 virtual void setPanesFollowCurrentNode(
bool follow_current_node) = 0;
63 virtual bool panesShowViewportStage() = 0;
64 virtual void setPanesShowViewportStage(
bool show_viewport_stage) = 0;
66 virtual bool panesShowPostLayers() = 0;
67 virtual void setPanesShowPostLayers(
bool show_post_layers) = 0;
69 virtual bool autoSetAssetResolverContext() = 0;
70 virtual void setAutoSetAssetResolverContext(
bool auto_set_context) = 0;
72 virtual bool updateRendererInBackground() = 0;
73 virtual void setUpdateRendererInBackground(
bool update_in_background) = 0;
75 virtual bool loadPayloadsByDefault() = 0;
76 virtual void setLoadPayloadsByDefault(
bool load_payloads) = 0;
78 virtual bool allowViewportOnlyPayloads() = 0;
79 virtual void setAllowViewportOnlyPayloads(
80 bool allow_viewport_only_payloads) = 0;
82 virtual bool pathParameterCompletion() = 0;
83 virtual void setPathParameterCompletion(
84 bool path_parameter_completion) = 0;
86 virtual double defaultMetersPerUnit() = 0;
87 virtual void setDefaultMetersPerUnit(
double meters_per_unit) = 0;
90 virtual void setDefaultUpAxis(
const char *up_axis) = 0;
92 virtual bool savePreferences() = 0;
94 virtual void reloadLayer(
const char *layer_path,
95 bool recursive =
false) = 0;
98 SWIGOUT(%kwargs makeValidPrimPath;)
100 bool allow_relative =
false) = 0;
103 const char *primpath,
104 const char *propertyname,
105 const char *parametername =
nullptr,
106 bool prepend_control_parm =
true,
107 bool prefix_xform_parms =
true) = 0;
109 const char *primpath,
110 const char *propertyname,
111 const char *parametername =
nullptr,
112 bool prepend_control_parm =
true,
113 bool prefix_xform_parms =
true) = 0;
116 const char *parametername =
nullptr,
117 const char *usdvaluetype =
nullptr,
118 bool prepend_control_parm =
true,
119 const char *propertyname =
nullptr) = 0;
123 const char *primpath,
124 const char *propertyname,
125 const char *parametername =
nullptr,
126 bool prepend_control_parm =
true) = 0;
129 const char *primpath,
130 const char *propertyname,
131 const char *parametername =
nullptr,
132 bool prepend_control_parm =
true) = 0;
134 virtual void setParmTupleFromProperty(
HOM_ParmTuple *parmtuple,
136 const char *primpath,
137 const char *propertyname) = 0;
138 virtual void setParmTupleFromProperty(
HOM_ParmTuple *parmtuple,
140 const char *primpath,
141 const char *propertyname) = 0;
143 virtual int shaderTranslatorID(
HOM_Node &node) = 0;
145 HOM_Node &node,
const char *node_output_name) = 0;
147 HOM_Node &node,
const char *node_output_name,
148 const char *material_prim_path,
149 const char *shader_parent_prim_path,
150 const char *shader_prim_name =
nullptr,
152 virtual void reportShaderTranslation(
HOM_Node &node,
153 const char *usd_shader_path) = 0;
154 virtual HOM_NodeType *shaderNodeType(
const char *shader_name) = 0;
156 virtual std::vector<std::string> availableRendererNames() = 0;
157 virtual std::vector<std::string> availableRendererLabels() = 0;
160 virtual std::vector<UT_Options>
161 availableRendererInfos() = 0;
163 virtual std::vector<std::pair<std::string, std::string> >
164 outputProcessors() = 0;
165 SWIGOUT(%newobject outputProcessorParms);
167 const char *
name) = 0;
169 virtual std::map<std::string, std::string> usdVersionInfo() = 0;
175 const char *identifier,
177 const std::map<std::string, std::string> &
args = {}) = 0;
178 virtual bool removeLockedGeometry(
const char *identifier) = 0;
181 virtual void addOpaquePreferenceChangeCallback(
void *callback) = 0;
183 virtual void removeOpaquePreferenceChangeCallback(
void *callback) = 0;
185 virtual void forceReloadAllFilesFromDisk(
bool reload_viewports=
false) = 0;
187 virtual bool _isProceduralSigned(
const char *filepath) = 0;
192 InterpreterObject availableRendererInfo()
194 auto infos =
self->availableRendererInfos();
195 return HOMoptionsListToInterpreterObject(infos);
198 void addPreferenceChangeCallback(InterpreterObject callback)
199 {
self->addOpaquePreferenceChangeCallback(callback); }
201 void removePreferenceChangeCallback(InterpreterObject callback)
202 {
self->removeOpaquePreferenceChangeCallback(callback); }
GLsizei const GLchar *const * string
GLsizei const GLchar *const * path
string __repr__(VtArray< T > const &self)
void ignore(T const &) VULKAN_HPP_NOEXCEPT
GLsizei GLsizei GLchar * source
GLuint const GLchar * name
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
**If you just want to fire and args
UT_Optional< double > HOM_OptionalDouble