Blender V4.5
blender::io::usd::OnMaterialExportInvoker Class Reference

Inherits blender::io::usd::USDHookInvoker.

Public Member Functions

 OnMaterialExportInvoker (pxr::UsdStageRefPtr stage, Material *material, const pxr::UsdShadeMaterial &usd_material, const USDExportParams &export_params, ReportList *reports)
 
- Public Member Functions inherited from blender::io::usd::USDHookInvoker
 USDHookInvoker (ReportList *reports)
 
void call ()
 

Protected Member Functions

const char * function_name () const override
 
void call_hook (PyObject *hook_obj) override
 
- Protected Member Functions inherited from blender::io::usd::USDHookInvoker
virtual void init_in_gil ()
 
virtual void release_in_gil ()
 

Additional Inherited Members

- Protected Attributes inherited from blender::io::usd::USDHookInvoker
ReportListreports_
 

Detailed Description

Definition at line 447 of file usd_hook.cc.

Constructor & Destructor Documentation

◆ OnMaterialExportInvoker()

blender::io::usd::OnMaterialExportInvoker::OnMaterialExportInvoker ( pxr::UsdStageRefPtr stage,
Material * material,
const pxr::UsdShadeMaterial & usd_material,
const USDExportParams & export_params,
ReportList * reports )
inline

Definition at line 454 of file usd_hook.cc.

References material, and RNA_pointer_create_discrete().

Member Function Documentation

◆ call_hook()

void blender::io::usd::OnMaterialExportInvoker::call_hook ( PyObject * hook_obj)
inlineoverrideprotectedvirtual

Implements blender::io::usd::USDHookInvoker.

Definition at line 472 of file usd_hook.cc.

References function_name(), and REF.

◆ function_name()

const char * blender::io::usd::OnMaterialExportInvoker::function_name ( ) const
inlineoverrideprotectedvirtual

Implements blender::io::usd::USDHookInvoker.

Definition at line 467 of file usd_hook.cc.

Referenced by call_hook().


The documentation for this class was generated from the following file: