|
Blender V5.3
|
Public Member Functions | |
| USDMaterialExportContext (pxr::UsdStageRefPtr stage, const USDExportParams ¶ms, ReportList *reports) | |
| pxr::UsdStageRefPtr | get_stage () const |
| std::string | export_texture (python::object obj) const |
Definition at line 191 of file usd_hook.cc.
|
inline |
Definition at line 198 of file usd_hook.cc.
|
inline |
Returns the USD asset export path for the given texture image. The image will be copied to the export directory if exporting textures is enabled in the export options. The function may return an empty string in case of an error.
Definition at line 215 of file usd_hook.cc.
References blender::io::usd::export_texture(), blender::io::usd::get_tex_image_asset_filepath(), blender::GS(), blender::ID_IM, and blender::pyrna_id_FromPyObject().
Referenced by blender::io::usd::register_hook_converters().
|
inline |
Definition at line 205 of file usd_hook.cc.
Referenced by blender::io::usd::register_hook_converters().