|
Blender V4.5
|
Public Member Functions | |
| USDMaterialExportContext () | |
| USDMaterialExportContext (pxr::UsdStageRefPtr in_stage, const USDExportParams &in_params, ReportList *in_reports) | |
| pxr::UsdStageRefPtr | get_stage () const |
| std::string | export_texture (PYTHON_NS::object obj) const |
Public Attributes | |
| pxr::UsdStageRefPtr | stage |
| USDExportParams | params |
| ReportList * | reports |
Definition at line 183 of file usd_hook.cc.
|
inline |
Definition at line 184 of file usd_hook.cc.
|
inline |
Definition at line 186 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 203 of file usd_hook.cc.
References blender::io::usd::export_texture(), blender::io::usd::get_tex_image_asset_filepath(), GS, ID_IM, ID::name, params, pyrna_id_FromPyObject(), reports, and stage.
Referenced by blender::io::usd::register_hook_converters().
|
inline |
Definition at line 193 of file usd_hook.cc.
References stage.
Referenced by blender::io::usd::register_hook_converters().
| USDExportParams blender::io::usd::USDMaterialExportContext::params |
Definition at line 230 of file usd_hook.cc.
Referenced by export_texture(), and USDMaterialExportContext().
| ReportList* blender::io::usd::USDMaterialExportContext::reports |
Definition at line 231 of file usd_hook.cc.
Referenced by export_texture(), USDMaterialExportContext(), and USDMaterialExportContext().
| pxr::UsdStageRefPtr blender::io::usd::USDMaterialExportContext::stage |
Definition at line 229 of file usd_hook.cc.
Referenced by export_texture(), get_stage(), and USDMaterialExportContext().