|
Blender V5.0
|
Public Member Functions | |
| USDMaterialExportContext ()=default | |
| USDMaterialExportContext (pxr::UsdStageRefPtr stage, const USDExportParams ¶ms, ReportList *reports) | |
| pxr::UsdStageRefPtr | get_stage () const |
| std::string | export_texture (PYTHON_NS::object obj) const |
Definition at line 186 of file usd_hook.cc.
|
default |
|
inline |
Definition at line 195 of file usd_hook.cc.
References params.
|
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 212 of file usd_hook.cc.
References blender::io::usd::export_texture(), blender::io::usd::get_tex_image_asset_filepath(), GS, ID_IM, ID::name, and pyrna_id_FromPyObject().
Referenced by blender::io::usd::register_hook_converters().
|
inline |
Definition at line 202 of file usd_hook.cc.
Referenced by blender::io::usd::register_hook_converters().