Blender V5.3
usd_hook.cc File Reference
#include "usd_hook.hh"
#include "usd.hh"
#include "usd_api_hook.hh"
#include "usd_asset_utils.hh"
#include "usd_hierarchy_iterator.hh"
#include "usd_reader_prim.hh"
#include "usd_reader_stage.hh"
#include "usd_writer_material.hh"
#include "BLI_map.hh"
#include "BLI_utildefines.hh"
#include "BLI_vector.hh"
#include "BKE_lib_id.hh"
#include "BKE_report.hh"
#include "DNA_material_types.h"
#include "DNA_object_types.h"
#include "RNA_access.hh"
#include "RNA_prototypes.hh"
#include "RNA_types.hh"
#include "bpy_rna.hh"
#include <list>
#include <memory>
#include <string>
#include <pxr/external/boost/python/call_method.hpp>
#include <pxr/external/boost/python/class.hpp>
#include <pxr/external/boost/python/dict.hpp>
#include <pxr/external/boost/python/import.hpp>
#include <pxr/external/boost/python/list.hpp>
#include <pxr/external/boost/python/ref.hpp>
#include <pxr/external/boost/python/return_value_policy.hpp>
#include <pxr/external/boost/python/to_python_converter.hpp>
#include <pxr/external/boost/python/tuple.hpp>

Go to the source code of this file.

Classes

struct  blender::io::usd::PointerRNAToPython
class  blender::io::usd::USDSceneExportContext
class  blender::io::usd::USDSceneImportContext
class  blender::io::usd::USDMaterialExportContext
class  blender::io::usd::USDMaterialImportContext
class  blender::io::usd::USDHookInvoker
class  blender::io::usd::OnExportInvoker
class  blender::io::usd::OnMaterialExportInvoker
class  blender::io::usd::OnImportInvoker
class  blender::io::usd::MaterialImportPollInvoker
class  blender::io::usd::OnMaterialImportInvoker

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::io
namespace  blender::io::usd

Typedefs

using blender::io::usd::USDHookList = std::list<std::unique_ptr<USDHook>>
using blender::io::usd::ImportedPrimMap = Map<pxr::SdfPath, Vector<PointerRNA>>

Functions

static USDHookList & blender::io::usd::hook_list ()
void blender::io::usd::USD_register_hook (std::unique_ptr< USDHook > hook)
void blender::io::usd::USD_unregister_hook (const USDHook *hook)
USDHook * blender::io::usd::USD_find_hook_name (const char idname[])
void blender::io::usd::register_hook_converters ()
static void blender::io::usd::handle_python_error (USDHook *hook, ReportList *reports)
void blender::io::usd::call_export_hooks (Depsgraph *depsgraph, const USDHierarchyIterator *iter, ReportList *reports)
void blender::io::usd::call_material_export_hooks (pxr::UsdStageRefPtr stage, const Material *material, const pxr::UsdShadeMaterial &usd_material, const USDExportParams &export_params, ReportList *reports)
void blender::io::usd::call_import_hooks (USDStageReader *archive, ReportList *reports)
bool blender::io::usd::have_material_import_hook (pxr::UsdStageRefPtr stage, const pxr::UsdShadeMaterial &usd_material, const USDImportParams &import_params, ReportList *reports)
bool blender::io::usd::call_material_import_hooks (pxr::UsdStageRefPtr stage, Material *material, const pxr::UsdShadeMaterial &usd_material, const USDImportParams &import_params, ReportList *reports)