Blender V4.3
usd_hook.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4#pragma once
5
6#include <pxr/usd/usd/common.h>
7#include <pxr/usd/usdShade/material.h>
8
9struct Depsgraph;
10struct Material;
11struct ReportList;
12
13namespace blender::io::usd {
14
18
20void call_export_hooks(pxr::UsdStageRefPtr stage, Depsgraph *depsgraph, ReportList *reports);
21
23void call_material_export_hooks(pxr::UsdStageRefPtr stage,
24 Material *material,
25 const pxr::UsdShadeMaterial &usd_material,
26 ReportList *reports);
27
29void call_import_hooks(pxr::UsdStageRefPtr stage, ReportList *reports);
30
31} // namespace blender::io::usd
EvaluationStage stage
Definition deg_eval.cc:83
const Depsgraph * depsgraph
void call_material_export_hooks(pxr::UsdStageRefPtr stage, Material *material, const pxr::UsdShadeMaterial &usd_material, ReportList *reports)
Definition usd_hook.cc:343
void call_import_hooks(pxr::UsdStageRefPtr stage, ReportList *reports)
Definition usd_hook.cc:356
void call_export_hooks(pxr::UsdStageRefPtr stage, Depsgraph *depsgraph, ReportList *reports)
Definition usd_hook.cc:333
void register_hook_converters()
Definition usd_hook.cc:137