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

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

Public Member Functions

 OnMaterialImportInvoker (pxr::UsdStageRefPtr stage, Material *material, const pxr::UsdShadeMaterial &usd_material, const USDImportParams &import_params, ReportList *reports)
 
bool result () const
 
- 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 545 of file usd_hook.cc.

Constructor & Destructor Documentation

◆ OnMaterialImportInvoker()

blender::io::usd::OnMaterialImportInvoker::OnMaterialImportInvoker ( pxr::UsdStageRefPtr stage,
Material * material,
const pxr::UsdShadeMaterial & usd_material,
const USDImportParams & import_params,
ReportList * reports )
inline

Definition at line 553 of file usd_hook.cc.

References material, and RNA_pointer_create_discrete().

Member Function Documentation

◆ call_hook()

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

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

Definition at line 576 of file usd_hook.cc.

References function_name(), and REF.

◆ function_name()

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

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

Definition at line 571 of file usd_hook.cc.

Referenced by call_hook().

◆ result()

bool blender::io::usd::OnMaterialImportInvoker::result ( ) const
inline

Definition at line 565 of file usd_hook.cc.

Referenced by blender::io::usd::call_material_import_hooks().


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